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

Explain the advantage of executing a process in background?

935


What are two different models of ipc differentiate both?

1066


Explain about daemon?

1035


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1018


Explain what is the process id for kernel process?

1000


What is ipc port?

1009


Explain the system calls used for process management?

978


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

1015


What is i-node numbers?

1161


What is ln(linking)?

1039


Explain linking across directories?

959


Explain how do you execute one program from within another?

974


What is unix ipc?

1016


Please explain fork() system call?

996


How to write the program on full-duplex communication on bidirectional?

1043