Re: BUG: NTPL: waitpid() doesn't return?
From: bert hubert (ahu_at_ds9a.nl)
Date: 01/31/04
- Previous message: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- In reply to: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Next in thread: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Reply: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jan 2004 17:18:05 +0100 To: Matthias Urlichs <smurf@smurf.noris.de>
On Sat, Jan 31, 2004 at 04:51:55PM +0100, Matthias Urlichs wrote:
> > 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. :-/
If they do not wait for a specific pid, the kernel is right. The kernel has
no way of knowing which process a specific waitpid is waiting for otherwise!
-- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- In reply to: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Next in thread: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Reply: Matthias Urlichs: "Re: BUG: NTPL: waitpid() doesn't return?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|