Is it correct that detached threads will only last for the duration of
the scope of their object, such that:

sub foo {
        my $thr = threads->new(&bar);
        $thr->detach;
}

will terminate the thread on exiting the function?  Or will it last till
the end of the process?  Either way, it seems perl will not hang around
for detached threads to finish off, unlike 5005 threads, not sure if
this is a curse or a blessing yet :)  


Reply via email to