Author janglin
Recipients amaury.forgeotdarc, janglin, pitrou
Date 2009-07-02.14:59:37
SpamBayes Score 0.000487774
Marked as misclassified No
Message-id <1246546779.84.0.322103086459.issue6394@psf.upfronthosting.co.za>
In-reply-to
Content
Just some information, on Windows:
- process ids are re-used.
- parent process id is set at process creation time and never updated.
(Windows Internal 4th Ed. by Russinovich and Solomon).

Thus, I would say that a long running process can not rely on the value 
of its parent process id.  The parent may not be running, or the process 
id may have been re-used and the process with that id may not be in fact 
the actual parent.  Having said that, I don't know the algorithm that 
Windows uses for process ids, so collisions may be rare (or not).

-Do these same issues exist on Unix systems?
History
Date User Action Args
2009-07-02 14:59:39janglinsetrecipients: + janglin, amaury.forgeotdarc, pitrou
2009-07-02 14:59:39janglinsetmessageid: <1246546779.84.0.322103086459.issue6394@psf.upfronthosting.co.za>
2009-07-02 14:59:37janglinlinkissue6394 messages
2009-07-02 14:59:37janglincreate