-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/02/2010 07:20 AM, Sumit Bose wrote:
On Wed, Dec 01, 2010 at 12:14:15PM -0500, Stephen Gallagher wrote:
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.
> I have to admit that I couldn't reproduce the issue, but I think the
> patch is doing the right thing if a child does not respond to a signal.
> ACK
Pushed to master.
- --
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/
iEYEARECAAYFAkz3lbgACgkQeiVVYja6o6OxjQCfb1Y/uvTkl3pdsu2e1IAMGiVv
Q9wAnRZq6Xnot4/QAH81034HqcezvIVi
=pu21
-----END PGP SIGNATURE-----