On Mon, Aug 4, 2008 at 12:22 AM, Andrew Farmer <[EMAIL PROTECTED]> wrote: > The double-fork is to fully detach the child process from the parent - note > that all of the parent processes immediately die, because fork() returns > nonzero.
But you've still introduced a race condition. You can more robustly accomplish the same goal by using a pipe or mutex or some other IPC primitive to synchronize the two processes. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]