On Sun, Dec 11, 2011 at 2:55 PM, Leon Timmermans via RT < perlbug-followup@perl.org> wrote: > On Thu Jun 23 12:27:39 2011, pc88mxer@gmail.com wrote: > > [Please describe your issue here] > > > > From this discussion on perlmonks: > > > > http://perlmonks.com/?node_id=908535 > > > > it seems there is a race condition when mixing signals and select(). > > > > A solution is to use pselect() instead of select() when available. > > This is *not* a perl bug. but a fundamental difficulty in dealing with > signals. I suggest closing this ticket. > Perl signal handling uses an approach that suffers from a race condition. It's buggy. As for being a "fundamentally difficulty", just because race conditons can be tricky to avoid when using threads or signals doesn't mean we shouldn't fix them. And it's neither tricky nor difficult to solve on systems with pselect. - EricThread Previous | Thread Next