From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: proced: ppid of process ID 0 can be 0 Date: Tue, 23 Dec 2008 15:41:56 -0500 Message-ID: References: <18765.19040.568030.246241@tfkp04.physik.uni-erlangen.de> <18765.29820.997276.703222@tfkp04.physik.uni-erlangen.de> <18765.51840.943986.608296@tfkp04.physik.uni-erlangen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230064947 27433 80.91.229.12 (23 Dec 2008 20:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 20:42:27 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, Roland.Winkler@physik.uni-erlangen.de To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 23 21:43:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LFE69-0001eg-MR for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 21:43:25 +0100 Original-Received: from localhost ([127.0.0.1]:41780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFE4w-0003aQ-Ks for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 15:42:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFE4r-0003Zk-Ob for emacs-devel@gnu.org; Tue, 23 Dec 2008 15:42:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFE4r-0003ZU-1Y for emacs-devel@gnu.org; Tue, 23 Dec 2008 15:42:05 -0500 Original-Received: from [199.232.76.173] (port=56776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFE4q-0003ZR-Ue for emacs-devel@gnu.org; Tue, 23 Dec 2008 15:42:04 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37723) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LFE4n-0000bv-Tr; Tue, 23 Dec 2008 15:42:02 -0500 Original-Received: from alfajor.home (vpn-132-204-232-154.acd.umontreal.ca [132.204.232.154]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id mBNKga0b005622; Tue, 23 Dec 2008 15:42:36 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id C1D661C175; Tue, 23 Dec 2008 15:41:57 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Tue, 23 Dec 2008 21:12:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3175=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:107253 Archived-At: >> >> Indeed, it should be in system-process-attributes which is already >> >> OS-dependent. >> > If you mean by having no ppid attribute, then that's ambiguous, since >> > an attribute can be missing because it is inaccessible for some >> > reason, like some kind of failure unrelated to the fact that the >> > process is really a root of a tree. >> Seems very hypothetical. > It's not hypothetical, I've seen such cases and reported them to > Roland. What were those cases? >> More to the point: even if we could distinguish the "no ppid" from >> "unkown ppid", it's unclear how Elisp code could make use of it. > Lisp code cannot, but a primitive written in C can. Like what can it do? Stefan