in reply to Re^6: Perl5.8.4 , threads - Killing the "async" kid
in thread Perl5.8.4 , threads - Killing the "async" kid

This also explains my duplicate lines in the log file

In a word; upgrade. At least threads & threads::shared. Preferably Perl also.

But these things are often out of our control :(

At a pinch; assuming that the quote means that the signal handler is being called separately on all the threads, add a check to only process the signal if you are the main thread. (Untested.):

sub handler { yield, return unless threads->tid == 0; ## Handle the signal }

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy