Hi all,

I have made the following observation and wonder if this is a bug or such.

$ a := [[(Delay forSeconds: 300) wait] ensure: ['Terminated' printNl]] fork.
$ a terminate
Process(nil at userSchedulingPriority, ready to run)
$ a terminate
'Terminated'
Process(nil at userSchedulingPriority, terminated)


To work around such sticky processes I have decided to use a [proc
isTerminated] whileFalse: [proc terminate] construct.

regards
        holger


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to