in reply to Re: waking from select, or IO::Pipe in same process?
in thread waking from select, or IO::Pipe in same process?
Hmm, it looks like IO::Socket::INET's accept already does something with signals. If I install an empty signal handler at the top level, then accept() returns undef cleanly. The perlipc docs show an example of checking for EINTR in this case. I haven't tested IO::Select yet, but I'd assume it behaves the same.
Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: waking from select, or IO::Pipe in same process?
by ikegami (Patriarch) on Jul 15, 2011 at 18:09 UTC | |
by checker (Novice) on Jul 15, 2011 at 18:51 UTC | |
by ikegami (Patriarch) on Jul 15, 2011 at 19:03 UTC |