From: Alexander_Gernler@genua.de (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-39639-135396.19.
0765391798804@perl.org>
p4raw-id: //depot/perl@28444
#...
do {
$kid = waitpid(-1, WNOHANG);
- } until $kid > 0;
+ } while $kid > 0;
then you can do a non-blocking wait for all pending zombie processes.
Non-blocking wait is available on machines supporting either the