[poe-commits] poe/lib/POE/Resource Signals.pm,1.19,1.20
Brought to you by:
rcaputo
From: <rc...@us...> - 2005-12-23 08:16:16
|
Update of /cvsroot/poe/poe/lib/POE/Resource In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15169/lib/POE/Resource Modified Files: Signals.pm Log Message: The end-of-run child process reaper should block if there are unreaped processes out there. I mistakenly made the loop non-blocking, and now it's fixed. Index: Signals.pm =================================================================== RCS file: /cvsroot/poe/poe/lib/POE/Resource/Signals.pm,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Signals.pm 22 Dec 2005 20:18:29 -0000 1.19 --- Signals.pm 23 Dec 2005 08:16:06 -0000 1.20 *************** *** 153,157 **** unless (RUNNING_IN_HELL) { local $!; ! until ((my $pid = waitpid( -1, WNOHANG )) == -1) { _warn( "Child process PID:$pid reaped: $!\n" ); $finalized_ok = 0; --- 153,157 ---- unless (RUNNING_IN_HELL) { local $!; ! until ((my $pid = waitpid( -1, 0 )) == -1) { _warn( "Child process PID:$pid reaped: $!\n" ); $finalized_ok = 0; |