Re: BUG: NTPL: waitpid() doesn't return?

Matthias Urlichs
2004-01-31T16:10:55Z

Hi,

bert hubert:
> It might be that in the NPTL world only one waitpid() can run per process
> simultaneously?

Good call ...

> Do you wait for all pids or for a specific one?
>
... looking at the strace output, I see that thre are four different
threads calling fork+child-exec/parent-waitpid() in parallel. The last
one actually succeeds, so you might be right with this analysis.

*Sigh* No matter how many people work at that code in the kernel, it's
_still_ fragile. :-/