[Top][All Lists]

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

Re: Redirecting standard output

From: Eli Zaretskii
Subject: Re: Redirecting standard output
Date: Thu, 21 Apr 2011 12:15:01 -0400

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Thu, 21 Apr 2011 17:46:17 +0200
> I added a interruptible_wait_for_termination function, which will
> probably not work on NT, since I have no idea how to do that.

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.

reply via email to

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