develooper Front page | perl.perl5.porters | Postings from April 2010

[PATCH] Attempt at improving the perlipc docs

Thread Next
From:
Maik Hentsche
Date:
April 19, 2010 10:02
Subject:
[PATCH] Attempt at improving the perlipc docs
Message ID:
20100419190219.001a541b@zeus
Hi,
I was recently confused by the way signal handlers using wait() behave
in collaboration with qx() or system().

When you have a signal handler for SIGCHLD that calls wait() and use
qx() or system() in your parent, the signal handler will be called.
Yet, because qx/system already wait()ed for their child the wait in the
signal handler would block. I doubt everyone will understand this in
the first place. Thus, I wrote an improvement for the documentation to
tell people about this issue. Please find the patch attached. It
applies to the current git HEAD.


so long
Maik

-- 
Maik Hentsche <maik@linux-tage.de>
Tel.:0177/6875926

http://chemnitzer.linux-tage.de


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