This behavior is the same as native threads.pm. I'm not sure I should deviate from this.
Generally, you should take action and correct your code if you see this warning, as threads
are being hard-terminated that were not given a chance to complete. Best practice is to
wait/join for all threads, or send termination signals to unresponsive or detached threads if
necessary, from the main thread before your script exits.
This is why I believe this warning has historically been un-suppressible in threads (other
than by suppressing STDERR).
On Tue Mar 30 16:57:03 2010, JPRIT wrote:
Show quoted text> There is no easy way to suppress:
>
> print STDERR "Perl exited with active threads:\n"
> ."\t$running_and_unjoined running and unjoined\n"
> ."\t$finished_and_unjoined finished and unjoined\n"
> ."\t$running_and_detached running and detached\n"