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

[perl #107216] Signal handlers must run before sigsuspend returns

Thread Next
From:
Father Chrysostomos via RT
Date:
December 29, 2011 11:13
Subject:
[perl #107216] Signal handlers must run before sigsuspend returns
Message ID:
rt-3.6.HEAD-14510-1325185995-1920.107216-15-0@perl.org
On Wed Dec 28 05:45:02 2011, LeonT wrote:
> This is a bug report for perl from fawaka@gmail.com,
> generated with the help of perlbug 1.39 running under perl 5.14.2.
> 
> -----------------------------------------------------------------
> 
> The whole point of sigsuspend and pause is to wait until a signal has
> arrived, and then return *after* it has been triggered. Currently
> delayed/"safe" signals prevent that from happening, which might cause
> race conditions.
> 
> The attached patch prevents that (as far as possible) by running the
> signal handlers ASAP.

Thank you. Applied as 20120e5.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=107216

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