From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Reading D-Bus messages Date: Fri, 24 Sep 2010 15:24:38 +0200 Message-ID: <837hibtgtl.fsf@gnu.org> References: <878w2tx6gk.fsf@gmx.de> <4C9A493F.4050701@cornell.edu> <874odhyliu.fsf@gmx.de> <4C9B452E.1040101@cornell.edu> <4C9B63A1.2060604@cornell.edu> <87y6asy0uh.fsf@gmx.de> <4C9BBD5C.30201@cornell.edu> <83tylgtbo8.fsf@gnu.org> <4C9CA5AD.1030707@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1285334688 17478 80.91.229.12 (24 Sep 2010 13:24:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2010 13:24:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 15:24:46 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz8Gc-0004uq-6B for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2010 15:24:46 +0200 Original-Received: from localhost ([127.0.0.1]:55750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oz8Gb-0006az-Fq for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2010 09:24:45 -0400 Original-Received: from [140.186.70.92] (port=41499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oz8GS-0006Ym-0P for emacs-devel@gnu.org; Fri, 24 Sep 2010 09:24:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oz8GQ-0005ob-U0 for emacs-devel@gnu.org; Fri, 24 Sep 2010 09:24:35 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:40895) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz8GQ-0005oG-Nb for emacs-devel@gnu.org; Fri, 24 Sep 2010 09:24:34 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L99005006H96700@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 24 Sep 2010 15:24:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.203.3]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L99004476KVSLE0@a-mtaout23.012.net.il>; Fri, 24 Sep 2010 15:24:33 +0200 (IST) In-reply-to: <4C9CA5AD.1030707@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130770 Archived-At: > Date: Fri, 24 Sep 2010 09:20:45 -0400 > From: Ken Brown > CC: emacs-devel > > Regardless of what decision is ultimately made about these questions, > I'd still like to know why one (and only one) of the calls to > gobble_input in keyboard.c is made only if SIGIO is defined. Because SIGIO means input is interrupt-driven, and therefore can arrive asynchronously, by raising an interrupt and invoking the interrupt handler. The other possibilities are synchronous, and therefore don't need to be checked more than once in a loop.