in reply to Global variables over many children
Child processes get copies of the variables and environment. Changes in the child are local to the child. What you want is some form of shared memory. Check the IPC namespace and Mmap.
Update: Re your reply, indeed OTT for what you want. A pipe, perhaps with a signal handler to read and close it, will do for that.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Global variables over many children
by Anonymous Monk on Dec 05, 2001 at 08:20 UTC | |
by perrin (Chancellor) on Dec 05, 2001 at 08:31 UTC | |
by Anonymous Monk on Dec 06, 2001 at 11:21 UTC | |
by perrin (Chancellor) on Dec 06, 2001 at 11:36 UTC | |
by Anonymous Monk on Dec 06, 2001 at 11:55 UTC | |
|