This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't wait for SIGTERM'ed forked children on Windows
authorJan Dubois <jand@activestate.com>
Tue, 15 Mar 2011 19:34:10 +0000 (12:34 -0700)
committerJan Dubois <jand@activestate.com>
Tue, 15 Mar 2011 19:34:10 +0000 (12:34 -0700)
commit3aa0ac5aa5f5cff1b95ae5ff8641818c450e4b16
tree8933a5b8725304e7cd2b212cc93a8b8b52251c8d
parentc9989a7404d7d04d5a3de35f7783e3fe298e69be
Don't wait for SIGTERM'ed forked children on Windows

SIGTERM may never get delivered when a thread/process is blocked in a
system call.  To avoid a deadlock Perl will now no longer wait for
children to terminate after they have been signalled with SIGTERM.

Note: this *only* applies to fork() emulation on Windows.  Read
pod/perlfork.pod for context on other limitation of this emulation.
pod/perldelta.pod
pod/perlfork.pod
win32/win32.c