http://gitweb.samba.org/?p=metze/samba/wip.git; a=shortlog; h=refs/heads/master4-double-fork
jra at samba.org
Wed Oct 27 15:58:12 MDT 2010
On Wed, Oct 27, 2010 at 09:51:22AM +0200, Stefan (metze) Metzmacher wrote:
> during the Storage Developer Conference 2010 I researched how we can
> implement helper processes in library code.
> The goal was to avoid setting global signal handlers and to avoid
> The solution I found (with help from Tridge) was to use a 2 staged
> fork() in order to avoid generating SIGCHLD from the child.
> At the same time the child should never endup as zombie.
> My first implementation is available here:
> It passes our autobuild tests, but I want to do some more testing before
> it to master.
> It would be nice to get some comments.
That is a very nice piece of code. I'm impressed. Very clean Metze !
More information about the samba-technical