[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: busyloop in sigchld_handler
From: |
Sam Steingold |
Subject: |
Re: busyloop in sigchld_handler |
Date: |
Sun, 11 Mar 2007 18:21:42 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
> * Eli Zaretskii <address@hidden> [2007-03-11 23:51:57 +0200]:
>
>> Date: Sun, 11 Mar 2007 17:17:05 -0400
>> From: Sam Steingold <address@hidden>
>> Cc: address@hidden
>>
>> > * Eli Zaretskii <address@hidden> [2007-03-11 23:14:01 +0200]:
>> >
>> >> From: Sam Steingold <address@hidden>
>> >> Date: Sun, 11 Mar 2007 17:06:07 -0400
>> >>
>> >> > But can you explain why it works?
>> >>
>> >> wait3 is a system call, which, when invoked in a loop, prevents the
>> >> kernel from doing anything else (in this case, sending SIGCHLD to
>> >> emacs). sleep allows the kernel some time to pass the signal.
>> >
>> > So how portable is this trick?
>>
>> sleep is in POSIX.
>
> Obviously, that's not what I asked. I asked how portable is the
> behavior of the kernel that you described in the cited text.
Sorry.
I observe the lossage only on linux.
OTOH, linux is all I have access to.
--
Sam Steingold (http://sds.podval.org/) on Fedora Core release 6 (Zod)
http://honestreporting.com http://thereligionofpeace.com http://truepeace.org
http://iris.org.il http://jihadwatch.org http://ffii.org
I don't want to be young again, I just don't want to get any older.
- busyloop in sigchld_handler, Sam Steingold, 2007/03/11
- Re: busyloop in sigchld_handler, Kim F. Storm, 2007/03/11
- Re: busyloop in sigchld_handler, Sam Steingold, 2007/03/11
- Re: busyloop in sigchld_handler, Eli Zaretskii, 2007/03/11
- Re: busyloop in sigchld_handler, Sam Steingold, 2007/03/11
- Re: busyloop in sigchld_handler, Eli Zaretskii, 2007/03/11
- Re: busyloop in sigchld_handler,
Sam Steingold <=
- Re: busyloop in sigchld_handler, Richard Stallman, 2007/03/12
- Re: busyloop in sigchld_handler, David Kastrup, 2007/03/12
- Re: busyloop in sigchld_handler, Richard Stallman, 2007/03/12
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/11
- Re: busyloop in sigchld_handler, Kim F. Storm, 2007/03/11
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/12
- Re: busyloop in sigchld_handler, Sam Steingold, 2007/03/12
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/12
- Re: busyloop in sigchld_handler, Sam Steingold, 2007/03/12
- Re: busyloop in sigchld_handler, Andreas Schwab, 2007/03/12