emacs-devel
[Top][All Lists]
Advanced

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

Re: Power: blink-cursor-mode is a pig


From: Eli Zaretskii
Subject: Re: Power: blink-cursor-mode is a pig
Date: Sat, 31 Dec 2011 09:42:59 +0200

> Date: Fri, 30 Dec 2011 23:21:59 -0800
> From: Daniel Colascione <address@hidden>
> Cc: YAMAMOTO Mitsuharu <address@hidden>, address@hidden
> 
> Windows takes pains to not send out useless message broadcasts.  Other
> than these broadcasts, a program is only woken to receive a message
> when something specifically sends it a message.  If there's no system
> activity, or the only activity is unrelated to Emacs, Emacs won't
> receive any messages and won't wake up.

As long as no messages arrive, the w32 message-reading thread is blocked
inside the call to WaitForSingleObject (see w32xfns.c:get_next_message).
This call has no timeout, so it will block indefinitely.



reply via email to

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