Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Eureka!
Look at this code -- it works without threads! So, threads aren't the magic here. Is another Perl interpreter instance being launched to handle that eval()? Or is the first instance looking for all of the places that twiddle %SIG, and evaluating them upfront? Perhaps there are only a handful of things (like spawning a thread or calling eval()) can get the Perl interpreter to push the state of %SIG down into the operating system? Thoughts on just what the mechanics are behind this behavior? In reply to Re: Is the signal handler supposed to work like this?
by dpmott
|
|