emacs-devel
[Top][All Lists]
Advanced

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

Re: Interruptible wait_for_termination


From: Eli Zaretskii
Subject: Re: Interruptible wait_for_termination
Date: Sun, 11 Nov 2012 18:30:33 +0200

> From: Andreas Schwab <address@hidden>
> Cc: Paul Eggert <address@hidden>,  address@hidden
> Date: Sun, 11 Nov 2012 13:28:33 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > Maybe it does, but when I considered this possibility, it sounded
> > incredible to me that every keystroke would normally interrupt a call
> > to waitpid.  Aren't there gobs of programs out there who call waitpid
> > without setting up a loop that checks for EINTR?
> 
> Those gobs of programs don't enable SIGIO.

Thanks, that must be the answer.  I failed to notice that SIGIO is
ignored by default.

But the platforms that don't have USABLE_SIGIO really cannot interrupt
that waitpid call, except on a TTY, right?



reply via email to

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