in reply to SOLVED: Is this a bug of perl threads?
You seem to be think you can send a signal to a thread ("I interrupted one client with CTRL+C"). That's not the case. The signal is sent to the whole process, and the default action of most signals and SIGINT specifically is to kill the process.
If anything, the bug is on the Windows side. One could say Perl is handling the Ctrl-C as if it was emulating a process even when it's not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is this a bug of perl threads?
by BrowserUk (Patriarch) on Mar 12, 2010 at 02:29 UTC | |
by Ray.Zachary (Acolyte) on Mar 12, 2010 at 02:49 UTC | |
by BrowserUk (Patriarch) on Mar 12, 2010 at 03:13 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 02:59 UTC | |
|
Re^2: Is this a bug of perl threads?
by Ray.Zachary (Acolyte) on Mar 12, 2010 at 02:31 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 03:10 UTC | |
by Ray.Zachary (Acolyte) on Mar 12, 2010 at 03:48 UTC | |
by ikegami (Patriarch) on Mar 12, 2010 at 04:33 UTC |