Re: Task dispatching
Re: Task dispatching
- Subject: Re: Task dispatching
- From: Scott Ribe <email@hidden>
- Date: Tue, 13 Sep 2011 13:48:28 -0600
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
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden