Re: Redirecting standard output

From:

Lars Magne Ingebrigtsen

Subject:

Re: Redirecting standard output

Date:

Thu, 21 Apr 2011 18:24:47 +0200

User-agent:

Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
> It seems like the Windows version is already interruptible, see
> w32proc.c:sys_wait (wait_for_termination calls `wait' on Windows, but
> `wait' is a macro that resolves to sys_wait). It calls a Windows API
> that allows to specify a timeout, and we set that timeout to 1 sec.
> So Emacs on Windows checks for QUIT roughly once a second.
Or to be more consistent -- should the non-Windows version also be
interruptible by default? That might have unintended consequences, I
guess, but then we could drop the interruptible_wait_for function and
just put a QUIT in the normal version of the function...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/