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

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

Thread Previous
From:
Father Chrysostomos via RT
Date:
December 11, 2011 14:10
Subject:
[perl #93428] potential race condition when mixing signals and select()
Message ID:
rt-3.6.HEAD-5084-1323641431-818.93428-15-0@perl.org
On Sun Dec 11 14:05:26 2011, ikegami@adaelis.com wrote:
> Disregard the previous message from me. It was sent accidentally far
before
> it was ready to be sent.

Forgive me, but I find it quite funny. :-)  It sounds like something I
wrote.

> 
> On Sun, Dec 11, 2011 at 5:03 PM, Eric Brine <ikegami@adaelis.com> wrote:
> 
> > 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
> >>
> >
> >


-- 

Father Chrysostomos


Thread Previous


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