develooper Front page | perl.perl5.porters | Postings from December 2011

Re: [perl #93428] potential race condition when mixing signals and select()

Thread Previous | Thread Next
From:
Eric Brine
Date:
December 11, 2011 14:03
Subject:
Re: [perl #93428] potential race condition when mixing signals and select()
Message ID:
CALJW-qFsr+jxBzvehFSuf7GbVn5Hg=BVSdWUc17iz3HTtZ_V8g@mail.gmail.com
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.
>

It's not "fundamentally difficult". It's been solved
Perl using a buggy method of handling signals

>
> Leon
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About