note 91123 deleted from function.pcntl-signal by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 May 2009 14:15:42 +0000 |
| Subject: | note 91123 deleted from function.pcntl-signal by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156025@lists.php.net to get a copy of this message | ||
Note Submitter: therudeness at gmail dot com
----
I've been using the Daemon.class from this site
http://www.phpclasses.org/browse/file/8958.html
Works great, except that I had to move the declare(ticks = 1) outside of the class for the signals
to be caught reliably..
Otherwise it would work *only* when I did network stuff within my loop.
Very strange! But now it works!