note 98713 deleted from function.pcntl-fork by danbrown

From: Date: Tue, 10 Aug 2010 15:41:16 +0000
Subject: note 98713 deleted from function.pcntl-fork by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171535@lists.php.net to get a copy of this message
Note Submitter: duerra at yahoo dot com ---- Oops, I stripped just a little too much from the job daemon code in the previous comment. You'll want to add a couple little lines before the ->launchJob() method is called to keep things in check: <?php while(count($this->currentJobs) >= $this->maxProcesses){ echo "Maximum children allowed, waiting...\n"; sleep(1); }

« previous php.notes (#171535) next »