finalisation
Lex Spoon
lex at cc.gatech.edu
Mon Jan 26 20:21:10 UTC 2004
Craig Latta <craig at netjam.org> wrote:
> > ...the chance of the process being terminated inbetween the
> > assignment and entering the ensured block is - compared to the
> > probability of being terminated somewhere inside #fileNamed: - so
> > remote it isn't even worth mentioning.
>
> I've experienced it. Apparently you're more of a gambler than I am.
>
Where is the terminate coming from?
If it's from an exception internal to File, then you shouldn't need to
#close the file as a user.
If it's from another thread, well, don't do that. :) You'll have many
other difficulties than this one.
-Lex
More information about the Squeak-dev
mailing list
|