Can anyone confirm for me that it is (or isn't) possible to do a
nonblocking waitpid() on Activestate 5.6?
So far, the following seems to block for me...
use POSIX ":sys_wait_h";
# ....fork, etc ...
# The following only executes once due to blocking.
do {
print "blocking.\n";
$kid = waitpid(-1, &WNOHANG);
print "kid: $kid\n";
} while $kid != 0 or $kid != -1;
Grant Hopwood
Valero Energy Corp.
(210) 370 2380
PGP Public Key: Ldap://certserver.pgp.com
nuclear iraq bioweapon encryption cocaine korea terrorist
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin