Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 1996 12:26:35 -0600 (MDT)
From:      Brandon Gillespie <brandon@tombstone.sunrem.com>
To:        freebsd-hackers@freebsd.org
Subject:   handling SIGCHLD with multiple children
Message-ID:  <Pine.BSF.3.91.960709122409.4725A-100000@tombstone.sunrem.com>

next in thread | raw e-mail | index | archive | help
Is there _ANY_ way of finding what child sent a SIGCHLD signal to the 
parent process?  I have a situation where a parent may have multiple 
children processing different tasks, and the parent is waiting for one 
child to complete a specific task, which it cares about, but it does not 
care about the other children.  Because of this in most instances when 
SIGCHLD is received it simply resets it and continues working, except for 
now I need to handle things differently when a specific child sends 
SIGCHLD.  Is there any ANY way to figure out where it came from?

Thanks..

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960709122409.4725A-100000>