>How is it blocking indefinitely? Is wait() not returning -1 with >errno == ECHILD when there are no children to reap? What led you to >the conclusion that this code was blocking? (What platform are you >running this on?)
Hmm, agreed. Looks like I was wrong with my analysis. In any case, I am running the portable version of the ntpd on Linux. I am definitely observing the parent still alive and blocked (sleeping) even when the child is dead. I need to do some more digging on this. Apologies. Ani