emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proced: ppid of process ID 0 can be 0


From: Stefan Monnier
Subject: Re: proced: ppid of process ID 0 can be 0
Date: Mon, 22 Dec 2008 17:24:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> To me the definition of "root" is "has no parent", so the two are
>> equivalent.
> Same here.  But "having no parent" and "found zero in /proc/NNN/stat"
> is not necessarily the same.
>> I could live with a predicate process-tree-root-p, but I'd expect it
>> to just check for the absence of a parent.
> Me too.  However, that check is OS-dependent, so I don't think it
> should be in Lisp.

Indeed, it should be in system-process-attributes which is already
OS-dependent.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]