« Previous | Next » 

Revision 740c5aab

ID740c5aabc85dd3a40d739f485311154ca241a71e

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences