wait call returns when not expected

Christopher Taylor chtaylo3 at gmail.com
Thu Sep 11 13:26:35 UTC 2008


I'm forking and demonizing a process with setsid and then calling
execl and when I call wait, --sometimes-- wait returns saying that the
child pid has exited and sometimes it does not.  I can see the
argument both ways, but I'm confused why it occurs both ways.  Does
anyone have any input on this?

-Chris



More information about the uClibc mailing list