site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Nov 21, 2009, at 8:23 PM, Dave Keck wrote:
For the archives:
After some stress testing, I've found that there is in fact a race between when kevent() reports that a process exited, and when waitpid() can successfully reap the process. Therefore, it is not safe to use the WNOHANG option with waitpid() and friends to reap a child process, after observing that the child process exited using kevent().
Could you file a bug on this and attach a test case? -- Damien Sorresso BSD Engineering Apple Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com