On 08.09.2011 21:43, Esteban Lorenzano wrote:
I still wonder why interpreter does not executes curtailedBlock and cog does...
but anyway... if that works... :)
thanks!
Esteban
Well, that's a separate issue from the logic error...
How is the Notification handled?
On the Cog/NonCog VM's I test on, a normal, unresponded to Notification
is not curtailed:
[[Transcript show: 'before'.
Notification new signal.
Transcript show: 'after'.] ifCurtailed: [Transcript show: 'Too late!']]fork.
prints beforeafter
while one which is terminated while handled is curtailed on both:
[[[Transcript show: 'before'.
Notification new signal.
Transcript show: 'after'.] on: Notification do: [:err | Processor
activeProcess terminate]] ifCurtailed: [Transcript show: 'Too late!']]fork
prints beforeToo late!
Cheers,
Henry