How can a parent find out if one of its children is still alive

Bruce M Ong DeadHead at cup.portal.com
Fri Jun 1 17:30:45 AEST 1990


I am sure there is a very easy way to do this, but I just havent
figured this one out:
	
	How can a parent find out if one of its children is still alive
or not without

	1) going through fifos, 
	2) going through messages
	3) going through shared memory
	4) going through sockets
	
	I thought the parent could use the getpgrp() call to find out
the child's group id and in turn find out if the child is still alive
or not. But that didnt seem to work.

	I dont want the parent to wait for the child to die, either...

	Please e-mail, thanks!

	deadhead at cup.portal.com



More information about the Comp.unix.wizards mailing list