On onsdag, juli 24, 2002, at 12:52 , Ray Hilton wrote:

>
> Hmmm, maybe:
>
> $thr->detach_nb();
>
> or something.  In my mind, if a process is detached, and in a global
> scope, it should be waited for.  That makes sense as otherwise you have
> no method of making sure the process is finished by the time the main
> app finishes.  This was something originally spec'd out in 5005 that
> perl will handle the detached thread, and clean it up for you.
>
> Ray
>

I was thinking more of something like


use threads qw(wait_on_exit); or something like that

Arthur

Reply via email to