in reply to Re^10: Exiting a script with an 'infinitely looping' thread
in thread Exiting a script with an 'infinitely looping' thread
I know it works with unsafe signals.
sleep was interuptable before safe signals were introduced. sleep is interuptable if safe signals are disabled.
Viz: the implementation of safe signals is the root cause of the problem (even if the fix is to modify the implementation of sleep), and my statement that: "Due to Perl "safe signals", sleep is an uninteruptable opcode." is correct.
And all your noise in this thread amounts to nothing more than an addendum of "only under windows", which is redundant, as I was replying to the OP who must be using windows otherwise he wouldn't have encountered the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Exiting a script with an 'infinitely looping' thread
by ikegami (Patriarch) on Nov 24, 2008 at 22:38 UTC |