![](https://secure.gravatar.com/avatar/fa5a8de5c6e6c5838fc8106b390c7a6d.jpg?s=120&d=mm&r=g)
Paul Reiners; Is it possible to determine when a child shred has finished executing
if you have a reference to the child shred?
I'd say so, let me quote from the "VERSIONS" file from the latest release;
- (added) int Shred.done() // is the shred done?
int Shred.running() // is the shred running?
I'm not 100% sure what "running" is supposed to refer to (perhaps I
misunderstand it?) but "done" seems to suit your needs;
================== 8<================
fun void foo()
{
second => now;
}
spork ~ foo() @=> Shred bar;
<<