On Sep 13, 2011, at 1:14 PM, Jens Alfke wrote:

> That’s true in the general case on OS X, but my understanding is that as long 
> as you stick to POSIX APIs you can do actual work in the forked process.

No, you have to stick to async-signal safe POSIX APIs, which are a very very 
small subset of POSIX. Basically, about all you can do is close/dup file 
descriptors in order to set up which files the new process will be able to 
access after exec'ing.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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 arch...@mail-archive.com

Reply via email to