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

bert hubert
2004-01-31T15:37:45Z

On Sat, Jan 31, 2004 at 11:46:06AM +0100, Matthias Urlichs wrote:

> This partial trace is from Debian's mini-dinstall, which is a
> multithreaded Python script.
>
> What happens here is that it spawns a bunch of threads, then some of
> these fork+execve external programs which they waitpid() for.
>
> Unfortunately, some of these waitpid() calls don't return even though
> the waited-for process clearly has exited.

It might be that in the NPTL world only one waitpid() can run per process
simultaneously? Do you wait for all pids or for a specific one?

Bert.

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO