Process status

Alexander Lazarevic lazarevi at prinz-atm.cs.Uni-Magdeburg.DE
Fri Jul 10 19:19:29 UTC 1998


Hi!

How do i ckeck that a process has finished?

| shepherd |
shepherd := [1000 atRandom timesRepeat: [Transcript show: 'Sheep'; cr].
             Processor yield] newProcess.
shepherd resume.
"Herd complete?"
"shepherd running whileTrue: [Delay forSeconds: 1]."

-- 
------  Alexander  Lazarevic  ------------------------------------------------
-- Otto-von-Guericke-Universitaet      mailto: lazarevi at cs.uni-magdeburg.de --
--   Computational Visualistics    http://www.cs.uni-magdeburg.de/~lazarevi --





More information about the Squeak-dev mailing list