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 is i-node numbers?
What is unix ipc?
Tell me set-user-id is related to (in unix)?
Explain the system calls used for process management?
What are the various schemes available in ipc?
How to write the program on full-duplex communication on bidirectional?
What are the various schemes available?
Explain a zombie?
How to get or set an environment variable from a program?
Please explain fork() system call?
What is daemon?
What is ln(linking)?
What is the full form of ipc?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
What is the very first process created by kernel?