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 i-node numbers?

592


Explain about daemon?

566


Explain linking across directories?

534


Explain the advantage of executing a process in background?

509


Explain how do you execute one program from within another?

529






Which ipc is faster?

565


What are two different models of ipc differentiate both?

576


What is ln(linking)?

579


What is fork()?

598


What is ipc in unix?

559


What is ipc port?

561


Explain what are the system calls used for process management?

512


What are the various schemes available?

543


Please describe the initial process sequence while the system boots up?

574


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

539