[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: busyloop in sigchld_handler

From: Eli Zaretskii
Subject: Re: busyloop in sigchld_handler
Date: Sun, 11 Mar 2007 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]