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: Interruptible wait_for_termination Date: Sun, 11 Nov 2012 18:30:33 +0200 Message-ID: <83wqxsw192.fsf@gnu.org> References: <838va9xpqs.fsf@gnu.org> <509EC7C4.1050707@cs.ucla.edu> <83390gyf35.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1352651445 29091 80.91.229.3 (11 Nov 2012 16:30:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 16:30:45 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 11 17:30:55 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TXaQw-0001km-Ml for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2012 17:30:54 +0100 Original-Received: from localhost ([::1]:56257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaQn-00069H-9n for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2012 11:30:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaQi-00068L-BM for emacs-devel@gnu.org; Sun, 11 Nov 2012 11:30:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXaQf-0006lN-8s for emacs-devel@gnu.org; Sun, 11 Nov 2012 11:30:40 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaQf-0006l1-0z for emacs-devel@gnu.org; Sun, 11 Nov 2012 11:30:37 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MDC005000DV3Q00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 11 Nov 2012 18:30:23 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDC005PS0IL0320@a-mtaout20.012.net.il>; Sun, 11 Nov 2012 18:30:21 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:154819 Archived-At: > From: Andreas Schwab > Cc: Paul Eggert , emacs-devel@gnu.org > Date: Sun, 11 Nov 2012 13:28:33 +0100 > > Eli Zaretskii writes: > > > Maybe it does, but when I considered this possibility, it sounded > > incredible to me that every keystroke would normally interrupt a call > > to waitpid. Aren't there gobs of programs out there who call waitpid > > without setting up a loop that checks for EINTR? > > Those gobs of programs don't enable SIGIO. Thanks, that must be the answer. I failed to notice that SIGIO is ignored by default. But the platforms that don't have USABLE_SIGIO really cannot interrupt that waitpid call, except on a TTY, right?