Re: tick callbacks,not concurrently?

From: Date: Sat, 02 Sep 2000 20:29:19 +0000
Subject: Re: tick callbacks,not concurrently?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-31682@lists.php.net to get a copy of this message
On Sat, 02 Sep 2000, André Langhorst wrote: > I wasn´t unable to watch the forking process completely. Execute this > script, it shows that > a) sequential executing with for() equals tick executing, time-wise, I > assume that this is not ok, > well maybe I ran into the WTF thing and did not understand what´s going > on, I thought these functions > were executed concurrently, what is (apparently) not the case. Ok. they > must be spawned sequentially, > but even replacing usleep with sleep(1) keeps these proportions in time > difference. > b) referenced variable $b is only increased in every function in for(), > that´s ok. That's right, the functions are _not_ executed concurrently - they are not threads. -Andrei

« previous php.dev (#31682) next »