How can a parent and child process communicate?
Answer Posted / yogesh warad
Parent and child processes can communicate with unnamed pipe,
but the pipe should be created before creating the
child(i.e. forking).
After forking the process, child process inherits all
properties of parent, hence pipe also. This pipe can ce used
to communicate between parent and child process. But if one
wants to use exec(s), then this technique is not useful. The
user have to use named pipe or Message-Queue.
| Is This Answer Correct ? | 35 Yes | 7 No |
Post New Answer View All Answers
What are two different models of ipc differentiate both?
What is the full form of ipc?
Explain about daemon?
Explain the advantage of executing a process in background?
What are the various schemes available in ipc?
Explain how do you execute one program from within another?
What is unix ipc?
Explain the initial process sequence while the system boots up?
What are the various schemes available?
Explain what are the system calls used for process management?
Please describe the initial process sequence while the system boots up?
Tell me set-user-id is related to (in unix)?
What is the condition required for dead lock in unix system?
Please explain fork() system call?
Which ipc is faster?