[osiris-devel] Re: possible fix for osirismd defunct procs

lemmings osiris-devel at lemmin.gs
Tue Jan 2 17:41:11 EST 2007


On Tue, Jan 02, 2007 at 02:39:32PM -0500, David Vasil wrote:
> 
> Regarding your patch, what happens if an osirismd scan finishes and
> before it is able to set received_sigchld to 0 in check_for_signals()
> another osirismd scan finishes.  Will that second scan become a defunct
> process since received_sigchld was set to 0 before another wait() occurred?

The race condition won't cause a defunct process as there is a loop
around waitpid() _after_ received_sigchld is set to 0.

e



More information about the osiris-devel mailing list