From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Revise etc/DEBUG documentation Date: Tue, 06 Sep 2016 05:39:51 +0300 Message-ID: <83r38xbvk8.fsf@gnu.org> References: <864m5xtgtf.fsf@realize.ch> <838tv9dxu1.fsf@gnu.org> <86zinpruq0.fsf@realize.ch> <8360qddpc7.fsf@gnu.org> <86vaycslct.fsf@realize.ch> <83mvjnd8uw.fsf@gnu.org> <86mvjnske9.fsf@realize.ch> <831t0ycnhd.fsf@gnu.org> <86inuarw69.fsf@realize.ch> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473129627 30893 195.159.176.226 (6 Sep 2016 02:40:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2016 02:40:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 04:40:23 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bh6JC-0007O0-3U for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2016 04:40:22 +0200 Original-Received: from localhost ([::1]:57960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh6JA-0001t1-01 for ged-emacs-devel@m.gmane.org; Mon, 05 Sep 2016 22:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh6Id-0001sj-Vb for emacs-devel@gnu.org; Mon, 05 Sep 2016 22:39:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh6IY-0004UV-8g for emacs-devel@gnu.org; Mon, 05 Sep 2016 22:39:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh6IY-0004UR-5E; Mon, 05 Sep 2016 22:39:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3733 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bh6IW-0000Wb-B2; Mon, 05 Sep 2016 22:39:40 -0400 In-reply-to: <86inuarw69.fsf@realize.ch> (message from Alain Schneble on Mon, 5 Sep 2016 21:19:58 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:207206 Archived-At: > From: Alain Schneble > CC: > Date: Mon, 5 Sep 2016 21:19:58 +0200 > > Just one small thing: After sending a SIGINT, it might take some time > until Emacs actually terminates as it might be blocked in pselect > emulation (sys_select) in the call to MsgWaitForMultipleObjects. Just > wonder if there is an easy way to send a message or such to get out of > the blocking call without having to wait for a timeout or another event > to happen. Are you sure the delay is because of Emacs being parked in pselect? In my testing, Emacs shuts down after C-c as soon as it gets focus. > I guess that does not happen on POSIX as the corresponding syscall > will be interrupted anyway, right? If that's the reason, probably. There are no signals on Windows, in the Posix sense.