From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#12471: Avoid some signal-handling races, and simplify. Date: Sat, 22 Sep 2012 02:40:41 -0700 Organization: UCLA Computer Science Department Message-ID: <505D8799.8030905@cs.ucla.edu> 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> <836277xolr.fsf@gnu.org> <505CAE5B.8060802@cs.ucla.edu> <83zk4jw7sf.fsf@gnu.org> <505CC70B.6050308@cs.ucla.edu> <83obkywkmt.fsf@gnu.org> <505D7B33.4000504@cs.ucla.edu> <83haqqwhhv.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 1348306887 2462 80.91.229.3 (22 Sep 2012 09:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 09:41:27 +0000 (UTC) Cc: 12471@debbugs.gnu.org, lekktu@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 11:41:32 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 1TFMDL-0001ck-NO for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 11:41:31 +0200 Original-Received: from localhost ([::1]:39096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFMDH-0007ui-4k for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 05:41:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFMDD-0007mF-Dj for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 05:41:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFMDB-0003cC-8f for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 05:41:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFMDB-0003c6-52 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 05:41:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFMEo-0005RD-2N for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 09:43:02 +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.134830694520857 (code B ref 12471); Sat, 22 Sep 2012 09:43:02 +0000 Original-Received: (at 12471) by debbugs.gnu.org; 22 Sep 2012 09:42:25 +0000 Original-Received: from localhost ([127.0.0.1]:48060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFMEC-0005QL-Hb for submit@debbugs.gnu.org; Sat, 22 Sep 2012 05:42:25 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:45493) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFME9-0005QC-IK for 12471@debbugs.gnu.org; Sat, 22 Sep 2012 05:42:22 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 613EC39E800D; Sat, 22 Sep 2012 02:40:39 -0700 (PDT) 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 gET0F26x0950; Sat, 22 Sep 2012 02:40:39 -0700 (PDT) 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 E3B1339E8008; Sat, 22 Sep 2012 02:40:38 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: <83haqqwhhv.fsf@gnu.org> 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:64724 Archived-At: On 09/22/2012 02:10 AM, Eli Zaretskii wrote: > Which means 'sys_kill' will need to do everything that's expected from > 'raise'. Unless I'm missing something, the only thing that Emacs will expect from 'raise' is that it act like 'sys_kill' on itself, so the proposed patch shouldn't affect what 'sys_kill' needs to do. > I was asking not to aggravate the situation, if it's possible. Yes, but I don't see how the proposed patch aggravates the situation. It causes Emacs to execute the same Windows primitives as before. These primitives may have problems, but those problems are the same problems as before. I'm perhaps stating the obvious here, but just in case I'm misunderstanding please bear with me: the Windows substitutes for kill, raise, etc. need not support every POSIX feature. They need to support only the features that Emacs uses. So sys_raise need not support every feature that POSIX requires for 'raise'; it needs to support only the 'raise' features that Emacs uses. Likewise for 'sys_kill' versus POSIX 'kill'.