[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: busyloop in sigchld_handler
From: |
Kim F. Storm |
Subject: |
Re: busyloop in sigchld_handler |
Date: |
Wed, 28 Mar 2007 22:18:21 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
>> The problem is not the loop, but that the first wait3 will take
>> "forever" without the preceding sleep.
>
> If wait3 would block here then it would be a serious kernel bug, or
> someone is defining WNOHANG to 0.
This is observed with Linux 2.4 and 2.6 kernels -- so maybe
it could be conditioned with GNU_LINUX...?
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: busyloop in sigchld_handler, (continued)
Re: busyloop in sigchld_handler, YAMAMOTO Mitsuharu, 2007/03/25
- Re: busyloop in sigchld_handler, Sam Steingold, 2007/03/25
- Re: busyloop in sigchld_handler, YAMAMOTO Mitsuharu, 2007/03/25
- Re: busyloop in sigchld_handler, Kim F. Storm, 2007/03/28
- Re: busyloop in sigchld_handler, Chong Yidong, 2007/03/28
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/28
- Re: busyloop in sigchld_handler, Kim F. Storm, 2007/03/28
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/28
- Re: busyloop in sigchld_handler,
Kim F. Storm <=
- Re: busyloop in sigchld_handler, Richard Stallman, 2007/03/29
Re: busyloop in sigchld_handler, Alfred M. Szmidt, 2007/03/28