threads - Re: how to catch the SIG within detached threads

Posted on Thu Apr 5 17:15:17 2007 by calli in response to 4768 (See the whole thread of 8)
Re: how to catch the SIG within detached threads
Sorry,
but I can't reproduce your printout
this is what I get - both threads die without any chance to sigh:
cas@Soltek:~/Perl/Bash> ./testSig3.pl Starting threads... thr1 sleeping... thr2 sleeping... Waiting for termination signals: kill 10029 Caught SIGTERM Signalling thr1... Signalling thr2... Waking up threads using SIGUSR2... Ignoring SIGUSR2 Done cas@Soltek:~/Perl/Bash>
I am running SuSE 9.3 and Perl 5.8.6 - could that be the reason?
Direct Responses: 4771 | Write a response