« Previous | Next » 

Revision 740c5aab

Parent 5e29d733
Child eda37a5a

Added by Guido Trotter about 14 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