-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There is a race condition where if we send a SIGTERM before the
kernel has scheduled the child, it may be lost, and the child will
not terminate and will leave the monitor hung in wait().
This patch alters this behavior so that we will send the SIGTERM
again every 10ms and check the wait() in a nonblocking manner.
There is a simple script attached that can reproduce the original issue.
It will hang at random while running before this patch is applied.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkz2gmcACgkQeiVVYja6o6Pz5gCdESzAyKV8f6WGcMStwNueTygm
VBkAn09A+6Q/y7Yxq8epih97IV3lQS8H
=XZq6
-----END PGP SIGNATURE-----