Date: Mon, 20 Apr 2009 14:34:55 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_exit.c Message-ID: <200904201435.n3KEZ47K056530@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-04-20 14:34:55 UTC FreeBSD src repository Modified files: sys/kern kern_exit.c Log: SVN rev 191313 on 2009-04-20 14:34:55Z by kib On the exit of the child process which parent either set SA_NOCLDWAIT or ignored SIGCHLD, unconditionally wake up the parent instead of doing this only when the child is a last child. This brings us in line with other U**xes that support SA_NOCLDWAIT. If the parent called waitpid(childpid), then exit of the child should wake up the parent immediately instead of forcing it to wait for all children to exit. Reported by: Alan Ferrency <alan pair com> Submitted by: Jilles Tjoelker <jilles stack nl> PR: 108390 MFC after: 2 weeks Revision Changes Path 1.319 +4 -4 src/sys/kern/kern_exit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904201435.n3KEZ47K056530>