unwind behavior
Andreas Raab
Andreas.Raab at gmx.de
Sun Jun 30 18:01:33 UTC 2002
Hi,
Just a question: Does anyone know what the *expected* behavior for
terminating a process is where an unwind block is currently under
evaluation?! E.g., a simple test case is:
process := [[3+4] ensure:[
Transcript cr; show: 'Unwinding...'.
Processor activeProcess suspend.
Transcript show:'done'.
]] fork.
(Delay forMilliseconds: 100) wait.
process terminate.
Right now this raises an error in Squeak (attempting to evaluate a block
which is already evaluated) so this is clearly wrong. But what *is* the
expected behavior in this case?! Does somebody know what ANSI has to say
about this problem?
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|