Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are two different models of ipc differentiate both?

995


What is the full form of ipc?

1094


Explain about daemon?

966


Explain the advantage of executing a process in background?

886


What are the various schemes available in ipc?

927


Explain how do you execute one program from within another?

926


What is unix ipc?

953


Explain the initial process sequence while the system boots up?

926


What are the various schemes available?

900


Explain what are the system calls used for process management?

918


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

975


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

880


What is the condition required for dead lock in unix system?

923


Please explain fork() system call?

943


Which ipc is faster?

927