On Jul 31, 2011, at 1:59 AM, vincent habchi wrote:

> Thanks for these precisions. Actually, you’re right with fork (2), but vfork 
> (2), AFAIK, does not copy anything; note that I’m aware that vfork usually is 
> meant to be immediately followed by exec (3).

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.

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