[chuck-users] Detecting when child shred has finished

Paul Reiners paul.reiners at gmail.com
Fri Sep 19 17:29:54 EDT 2008


Is it possible to determine when a child shred has finished executing
if you have a reference to the child shred? For example, in this code:

     // define function go()
     fun void go()
     {
         // insert code
     }

     // spork another, store reference to new shred in offspring
     spork ~ go() => Shred @ offspring;

Is it possible to determine when offspring is done executing?


More information about the chuck-users mailing list