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 is the full form of ipc?

1118


Explain the system calls used for process management?

962


Explain what are the system calls used for process management?

946


Explain a zombie?

1036


What is unix ipc?

987


Max relax-able permission value with out giving write permission to others?

989


What is i-node numbers?

1135


What is fork()?

1016


What are two different models of ipc differentiate both?

1034


Please explain fork() system call?

980


Explain the initial process sequence while the system boots up?

951


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

946


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

940


What are the various schemes available?

944


What is daemon?

1006