On Jul 31, 2011, at 8:27 AM, Scott Ribe wrote:

> No, fork copies the entire address space when it is called, but vfork works 
> as he described. In neither case will modifications to memory by one process 
> by visible by the other.

Oh, hogwash. Of course copy-on-write is a common optimization to fork. And with 
vfork modifications can be visible to the other process, but the calling 
process is suspended until the new process exits or calls exec, so it's not 
useful for interprocess communication, just a side effect available very 
briefly.

Sorry for the prior noise.

-- 
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