in reply to Re: Re: Re: Re: Catching signals
in thread Catching signals
This is from the ActivePerl docs, under "Windows Quirks".
Try this script on a Linux box, or, if you're VERY brave, with a native cygwin perl. But be warned, with 5.6.1 under Cygwin, playing with that kind of script causes bad things to happen for me.Why doesn't signal handling work on Windows? Signals are unsupported by the Win32 API. The C Runtime provides crude support for signals, but there are serious caveats, such as inability to die() or exit() from a signal handler. Perl itself does not guarantee that signal handlers will not interrupt critical operations such as memory allocation, which means signal invocation may throw perl internals into disarray. For these reasons, signals are unsupported at this time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Catching signals
by gri6507 (Deacon) on Sep 04, 2002 at 19:10 UTC |