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

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

Thread Next
From:
Leon Timmermans via RT
Date:
December 11, 2011 11:55
Subject:
[perl #93428] potential race condition when mixing signals and select()
Message ID:
rt-3.6.HEAD-5084-1323633339-717.93428-15-0@perl.org
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.

Leon

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