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:
Leon Timmermans
Date:
December 11, 2011 19:17
Subject:
Re: [perl #93428] potential race condition when mixing signals and select()
Message ID:
CAHhgV8iVd531XFXw5_SCkZCSjGwmn+Nr5f7P1vm5Lz3bWiw75Q@mail.gmail.com
On Mon, Dec 12, 2011 at 4:03 AM, Leon Timmermans <fawaka@gmail.com> wrote:
> Even if it was portable, it's not going to solve the problem by itself.

Thinking about it a little more, I think we can prevent the race
condition between PERL_ASYNC_CHECK and select(2) with sigprocmask +
pselect, if that's what you mean. I suspect that still leaves open
plenty of other issues though.

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