[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [feature] ObjectMemory class >> snapshot: should return
From: |
Tony Garnock-Jones |
Subject: |
[Help-smalltalk] [feature] ObjectMemory class >> snapshot: should return an indicator |
Date: |
Tue, 08 Jan 2008 04:09:15 -0700 |
Issue status update for
http://smalltalk.gnu.org/node/157
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/157
Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: feature requests
Priority: normal
Assigned to: Unassigned
Reported by: tonyg
Updated by: tonyg
Status: active
ObjectMemory class >> snapshot: does not provide any way to determine
whether, at the return from #snapshot:, we are running in
1. the parent, just after the save, or
2. the saved image, just after the load
A good solution to this would be to return some indicator of which
image-instance we're running in from #snapshot:.
Given such an indicator, we could build a #snapshot:andQuit: message, a
la Squeak, which would provide a convenient way of saving a snapshot and
quitting, without having to jump through hoops on resume to determine
which actions to take next.
- [Help-smalltalk] [feature] ObjectMemory class >> snapshot: should return an indicator,
Tony Garnock-Jones <=