How can a parent and child process communicate?

Answer Posted / basha

this is called copy on write concept
===================================
when ever an environment variable is modified for the
first time either by the parent process or by the child
process a copy of the variable is given to the child
process. the process which modifies the value will see the
modified value. the other process will see the value
obefore modification.

export statement makes a variable as environment
variable ,visible to child

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix ipc?

555


Explain a zombie?

625


What are two different models of ipc differentiate both?

580


What are the various schemes available in ipc?

555


What is daemon?

534






Explain about daemon?

568


What are the various schemes available?

545


Explain the system calls used for process management?

544


How to get or set an environment variable from a program?

546


What is the full form of ipc?

583


Please explain fork() system call?

561


Explain the initial process sequence while the system boots up?

550


Tell me set-user-id is related to (in unix)?

550


What is i-node numbers?

600


Explain the advantage of executing a process in background?

513