develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #113028] [PATCH] Full example of REAPER in perlipc

Thread Next
Tony Cook via RT
July 12, 2013 07:16
[perl #113028] [PATCH] Full example of REAPER in perlipc
Message ID:
On Fri May 25 04:21:50 2012, LeonT wrote:
> On Tue, May 22, 2012 at 5:05 PM, Leon Timmermans <> wrote:
> > Good point. This is the kind of pitfall that should probable be
> > explained in perlipc.
> On second reading, that does not seem necessary. The process will
> receive a sigchild under these circumstances, but waitpid will ignore
> that status unless asked for it (using the WUNTRACED and WCONTINUE
> options).

I've attached a simplified patch that changes the single waitpid() call
to a loop without the WIF*() checks from the original patch.

Looking at the text around that example, I wonder if this example could
be consolidated with the example above it, which already used a
waitpid() loop.


via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About