From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Interruptible wait_for_termination Date: Sat, 10 Nov 2012 13:31:48 -0800 Organization: UCLA Computer Science Department Message-ID: <509EC7C4.1050707@cs.ucla.edu> References: <838va9xpqs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352583135 24962 80.91.229.3 (10 Nov 2012 21:32:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2012 21:32:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 10 22:32:25 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 1TXIf8-0000Ds-IT for ged-emacs-devel@m.gmane.org; Sat, 10 Nov 2012 22:32:22 +0100 Original-Received: from localhost ([::1]:35622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXIez-00068u-6z for ged-emacs-devel@m.gmane.org; Sat, 10 Nov 2012 16:32:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXIet-00064R-UR for emacs-devel@gnu.org; Sat, 10 Nov 2012 16:32:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXIeq-0007LD-S4 for emacs-devel@gnu.org; Sat, 10 Nov 2012 16:32:07 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:41198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXIen-0007An-AG; Sat, 10 Nov 2012 16:32:01 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 0AF0BA60008; Sat, 10 Nov 2012 13:31:53 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7cci+YQO9MXv; Sat, 10 Nov 2012 13:31:52 -0800 (PST) Original-Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 985C7A60007; Sat, 10 Nov 2012 13:31:52 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 In-Reply-To: <838va9xpqs.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 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:154809 Archived-At: On 11/10/2012 10:43 AM, Eli Zaretskii wrote: > It seems that the only way to interrupt that blocking call is > to deliver a signal to Emacs, either SIGINT or some other signal that > would interrupt waitpid. Doesn't SIGIO do the trick? At least, on hosts with USABLE_SIGIO, but I suspect that every non-tty platform has a usable SIGIO these days, and that might explain the symptoms you're observing.