SPUG: sysv shared memory and forking
Benjamin Franks
benjamin at dzhan.com
Tue Mar 12 12:46:44 CST 2002
Let's say I have a parent process that creates and attaches a pointer to a
shared memory segment and then forks off a number of children. I
understand the children will inherit the parent's address space (copy on
write and all that) and thus the pointer attached to the shared memory
segment. However, do they inherit the entire memory segment as well? Or
is the sysv memory segment created outside the parent processes address
space to begin with?
Thanks,
--Ben
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list