note 91123 added to function.pcntl-signal
| From: | therudeness at gmail dot com | Date: | Tue, 26 May 2009 14:12:16 +0000 |
| Subject: | note 91123 added to function.pcntl-signal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-156024@lists.php.net to get a copy of this message | ||
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!
----
Server IP: 202.90.158.134
Probable Submitter: 69.70.136.202
----
Manual Page -- http://www.php.net/manual/en/function.pcntl-signal.php
Edit -- https://master.php.net/note/edit/91123
Del: integrated -- https://master.php.net/note/delete/91123/integrated
Del: useless -- https://master.php.net/note/delete/91123/useless
Del: bad code -- https://master.php.net/note/delete/91123/bad+code
Del: spam -- https://master.php.net/note/delete/91123/spam
Del: non-english -- https://master.php.net/note/delete/91123/non-english
Del: in docs -- https://master.php.net/note/delete/91123/in+docs
Del: other reasons-- https://master.php.net/note/delete/91123
Reject -- https://master.php.net/note/reject/91123
Search -- https://master.php.net/manage/user-notes.php