From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: delete-process bug Date: Fri, 26 May 2006 23:36:47 -0400 Message-ID: References: <87k69eyddj.fsf@lrde.org> <87fyj0r41g.fsf@lrde.org> <20060524112846.GA12046@agmartin.aq.upm.es> <87bqtmjrsh.fsf_-_@lrde.org> <874pzd6n3p.fsf@lrde.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148701132 16099 80.91.229.2 (27 May 2006 03:38:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 May 2006 03:38:52 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 27 05:38:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FjpdZ-0003aY-2t for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 05:38:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjpdY-00070k-H3 for ged-emacs-devel@m.gmane.org; Fri, 26 May 2006 23:38:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fjpbd-0006Am-Ra for emacs-devel@gnu.org; Fri, 26 May 2006 23:36:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fjpbc-0006AK-OK for emacs-devel@gnu.org; Fri, 26 May 2006 23:36:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fjpbc-0006AB-JE for emacs-devel@gnu.org; Fri, 26 May 2006 23:36:48 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fjpge-00083O-JR for emacs-devel@gnu.org; Fri, 26 May 2006 23:42:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fjpbb-0008V8-GS; Fri, 26 May 2006 23:36:47 -0400 Original-To: michael.cadilhac@lrde.org (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) In-reply-to: <874pzd6n3p.fsf@lrde.org> (michael.cadilhac@lrde.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55350 Archived-At: > Suppose it comes between there and the call to remove_process? > Does the right thing happen in all these cases? I think so. In fact, synchronous process will be said to be dead, but as we are calling at this moment delete-process, we are not working with any synchronous processes. Thanks for checking. Please add a comment explaining why there is no race condition if SIGCHLD comes in during those lines.