Re: Two the same pids, possibe?

From: Date: Wed, 29 Nov 2000 17:36:16 +0000
Subject: Re: Two the same pids, possibe?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-39611@lists.php.net to get a copy of this message
On Wed, 29 Nov 2000, Hartmut Holzgraefe wrote: > Wico de Leeuw wrote: > > "Note that when running as a server module, separate invocations of the > > script are not guaranteed to have distinct pids." > > > > Can somebody explain me how 2 scripts can have the same pid? (Thats how I > > read it) > > ... multithreaded servers ... Or process-based servers which handle multiple subsequent requests in the same process context (like Apache 1.3). The above quote might be rewritten as "Process IDs are not unique, thus they are a weak entropy source. We recommened against relying on pids in security-dependent contexts." - Sascha

« previous php.dev (#39611) next »