Suspending/resuming processes
Igor Stasenko
siguctua at gmail.com
Thu Dec 20 20:36:26 UTC 2007
Oh, and btw, can someone say, what wrong with following code?
Is it again, my misuse? ;)
| sema proc |
sema := Semaphore new.
proc := [ sema critical: [ Transcript show: 'Oopsie' ] ] fork.
Processor yield.
proc isSuspended ifFalse: [ proc suspend. proc resume. ]
More information about the Squeak-dev
mailing list
|