From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.devel Subject: Re: Power: blink-cursor-mode is a pig Date: Sat, 31 Dec 2011 13:00:36 +0100 Message-ID: <4EFEF964.4040604@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325332854 6819 80.91.229.12 (31 Dec 2011 12:00:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2011 12:00:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 31 13:00:48 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RgxcF-00089Q-AI for ged-emacs-devel@m.gmane.org; Sat, 31 Dec 2011 13:00:47 +0100 Original-Received: from localhost ([::1]:46758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgxcE-00037e-Ti for ged-emacs-devel@m.gmane.org; Sat, 31 Dec 2011 07:00:46 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgxcC-00037Z-70 for emacs-devel@gnu.org; Sat, 31 Dec 2011 07:00:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgxcB-0002uZ-6w for emacs-devel@gnu.org; Sat, 31 Dec 2011 07:00:44 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:59548) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RgxcA-0002uR-R0 for emacs-devel@gnu.org; Sat, 31 Dec 2011 07:00:43 -0500 Original-Received: (qmail invoked by alias); 31 Dec 2011 12:00:40 -0000 Original-Received: from unknown (EHLO [10.174.161.116]) [89.204.137.116] by mail.gmx.net (mp031) with SMTP; 31 Dec 2011 13:00:40 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX186IOEPZ946iMLHg7t20y4PkklsgvRriMByjKYht4 Kg0KtDUQkXaa6j User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) Original-References: 831urltce4.fsf@gnu.org X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147089 Archived-At: Eli Zaretskii wrote: >> Date: Fri, 30 Dec 2011 23:21:59 -0800 >> From: Daniel Colascione >> Cc: YAMAMOTO Mitsuharu , 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