From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12471: Avoid some signal-handling races, and simplify. Date: Fri, 21 Sep 2012 20:38:56 +0300 Message-ID: <836277xolr.fsf@gnu.org> References: <50590626.2070407@cs.ucla.edu> <83lig6yoim.fsf@gnu.org> <505AB299.9090605@cs.ucla.edu> <837grozizw.fsf@gnu.org> <505C1A75.9030509@cs.ucla.edu> <83mx0jydya.fsf@gnu.org> <505CA363.1000603@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348249171 24144 80.91.229.3 (21 Sep 2012 17:39:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 17:39:31 +0000 (UTC) Cc: 12471@debbugs.gnu.org, lekktu@gmail.com To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 19:39:33 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TF7CO-0004DG-U3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 19:39:33 +0200 Original-Received: from localhost ([::1]:40134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7CK-0005TC-G8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 13:39:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7CH-0005Su-Cl for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:39:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF7CG-0003rO-H9 for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:39:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF7CG-0003rI-DK for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:39:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TF7Dp-0007Qn-Jc for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2012 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12471-submit@debbugs.gnu.org id=B12471.134824923928537 (code B ref 12471); Fri, 21 Sep 2012 17:41:01 +0000 Original-Received: (at 12471) by debbugs.gnu.org; 21 Sep 2012 17:40:39 +0000 Original-Received: from localhost ([127.0.0.1]:47351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF7DS-0007QE-OD for submit@debbugs.gnu.org; Fri, 21 Sep 2012 13:40:38 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61256) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF7DQ-0007Q6-8n for 12471@debbugs.gnu.org; Fri, 21 Sep 2012 13:40:37 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MAP00C00NOBUL00@a-mtaout23.012.net.il> for 12471@debbugs.gnu.org; Fri, 21 Sep 2012 20:38:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAP00CT5NOWQW30@a-mtaout23.012.net.il>; Fri, 21 Sep 2012 20:38:57 +0300 (IDT) In-reply-to: <505CA363.1000603@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64698 Archived-At: > Date: Fri, 21 Sep 2012 10:26:59 -0700 > From: Paul Eggert > CC: 12471@debbugs.gnu.org, lekktu@gmail.com > > On 09/21/2012 01:31 AM, Eli Zaretskii wrote: > >> #define raise(sig) kill (getpid (), sig) > > I don't want to do that. I guess I'd special-case WINDOWSNT then, if > > we cannot do better. > > If the special case is in a w32 or dos file or somewhere in the nt > directory, that's obviously fine. I hope any such special case > doesn't clutter the mainline code, though, as it's Windows-specific. I see no way to do that in any place but where 'raise' is called, sorry. That's why I asked if there was a way to do that without calling 'raise'.