testing for image restart

Ned Konz ned at bike-nomad.com
Sat Jan 4 14:27:57 UTC 2003


On Friday 03 January 2003 07:04 pm, Derek Brans wrote:
> I gather a (in Ned's words) "snapshot" restart is equivalent to:
> save and quit then restart
> While a "start from fresh" is equivalent to quit or crash no save
> then restart.
>
> On Friday, January 3, 2003, at 05:21 PM, Derek Brans wrote:
> > Thanks for your replies.  What is the diff between snapshot vs
> > starting fresh?

No. Snapshot is when you just say:

Smalltalk snapshot

or the equivalent:

Smalltalk snapshot: true andQuit: false.

or choose "save" from the menu. When you do this, all shutdown 
registrants are first told

shutDown: false

then the image is saved, then all startUp registrants are told to

startUp: true

We do this so that we don't save the image in a start that can't be 
restarted easily.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list