[squeak-dev] Access to processes hierarchie

Frederic Pluquet fpluquet at ulb.ac.be
Fri Jul 11 21:51:34 UTC 2008


Hello,
I'm looking for a way to access dynamically to the "father" process of a
forked process...

|p1|
p1 := Processor activeProcess.
[ how to retrieve dynamically the process p1 here ? ] fork.
[ |p2|
p2 := Processor activeProcess.
 [ how to retrieve dynamically the process p1 here (grandfather of the
current process) ?
how to retrieve dynamically the process p2 here (father of the current
process) ?] fork] fork.

... and so on.

How to access dynamically to the ancestors of a process ?
Perhaps by the suspendedContext ? Or by something else ?

Fréd

-- 
Frédéric Pluquet
Université Libre de Bruxelles (ULB)
Assistant
http://www.ulb.ac.be/di/fpluquet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080711/1246c137/attachment.htm


More information about the Squeak-dev mailing list