« Previous | Next » 

Revision 740c5aab


Added by Guido Trotter almost 16 years ago

Fix the zombie process unittest

The failure is because in high load, the parent gets to run before the
child has the chance to os._exit(), and therefore it is still running
when the parent does the check.

The fix removes the chance of this happening by waiting to receive a SIGCHLD
(but not calling wait()) before trying to test the pid.

Reviewed-by: imsnah


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences