Change vars in the parent process

M

Markus Franz

Hi!


Is there any possibility to change vars inside a parent process from
the inside of a child process?
Thanks


Markus
 
T

Thomas Guettler

Am Tue, 21 Dec 2004 06:20:09 -0800 schrieb Markus Franz:
Hi!


Is there any possibility to change vars inside a parent process from
the inside of a child process?
Thanks

Hi,

No, that's impossible. At least on unix.

Thomas
 
S

Steve Holden

Markus said:
Hi!


Is there any possibility to change vars inside a parent process from
the inside of a child process?
Thanks

Not without adopting some specific inter-process mechanism such as a
network socket. The idea is that processes are *intended* to provide
protection boundaries around separate activities.

Maybe what you need is threads, which can easily access each other's
resources. They do need careful control, though, precisely because they
share a single process's address space and protection boundary.

regards
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top