Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 1995 16:43:28 -0700
From:      filo@yahoo.com
To:        freebsd-hackers@freebsd.org
Subject:   Ignoring SIGCHLD without having to wait()?
Message-ID:  <199507162343.QAA05963@lobo.yahoo.com>

next in thread | raw e-mail | index | archive | help
>From what I can tell FreeBSD like other BSD systems requires you to
wait() on children to clean up after them on their exit, otherwise
they become zombies until the parent dies.  In the case where you
don't care about the exit status of the child, this becomes an
unecessary burden.  SysV solves this by allowing the parent to ignore
these via SIG_IGN.

Am I missing something, or is there no way to do this in FreeBSD?  We
currently have an app where a significant portion of the CPU time is
spent servicing these interrupts.  The double fork solution is not an
option.

If there is no simple solution, does anyone have advice before I start
looking at hacking the kernel to provide this functionality.  Has
anyone looked into this before?  Any info on this would be
appreciated.

Thanks..

David Filo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507162343.QAA05963>