From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: delete-process bug Date: Thu, 25 May 2006 16:59:59 +0200 Message-ID: <858xoqxi8g.fsf@lola.goethe.zz> References: <87k69eyddj.fsf@lrde.org> <87fyj0r41g.fsf@lrde.org> <20060524112846.GA12046@agmartin.aq.upm.es> <87bqtmjrsh.fsf_-_@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148569264 13318 80.91.229.2 (25 May 2006 15:01:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 May 2006 15:01:04 +0000 (UTC) Cc: =?iso-8859-1?Q?Micha=EBl?= Cadilhac , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 25 17:01:01 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 1FjHKW-0005dn-Sj for ged-emacs-devel@m.gmane.org; Thu, 25 May 2006 17:00:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjHKV-0004hB-On for ged-emacs-devel@m.gmane.org; Thu, 25 May 2006 11:00:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjHK7-0004XK-SA for emacs-devel@gnu.org; Thu, 25 May 2006 11:00:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjHK7-0004WX-4L for emacs-devel@gnu.org; Thu, 25 May 2006 11:00:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjHK6-0004WJ-UZ for emacs-devel@gnu.org; Thu, 25 May 2006 11:00:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FjHOn-000178-Bl for emacs-devel@gnu.org; Thu, 25 May 2006 11:05:17 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FjHK5-0004Vd-Pa; Thu, 25 May 2006 11:00:26 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E115F1C4D3B3; Thu, 25 May 2006 16:59:59 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Thu, 25 May 2006 10:55:08 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:55281 Archived-At: Stefan Monnier writes: > I think in order to avoid such race-conditions without waiting for > the process's death, we'll need to remember those processes that > were deleted but aren't dead yet. Of course, it goes against the > docstring of `delete-process' which says "forget about it > immediately". But we don't need to keep the whole process around; > just the PID should be enough, kept in a list of "deleted but not > dead" PIDs. > +static Lisp_Object live_deleted_processes; > + "live-deleted"? How about calling them "undead processes"? They are pretty much zombies. Sounds geekier. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum