[Top][All Lists]

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

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

From: grischka
Subject: Re: Power: blink-cursor-mode is a pig
Date: Sat, 31 Dec 2011 13:00:36 +0100
User-agent: Thunderbird (Windows/20100228)

Eli Zaretskii wrote:
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.

(A) w32xfns.c:get_next_message doesn't run in the "w32 message-reading thread"
and (B) never calls WaitForSingleObject.

--- grischka

reply via email to

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