note 90418 added to function.pcntl-signal
| From: | ewout dot NOSPAM dot zigterman at custosys dot nl | Date: | Tue, 21 Apr 2009 15:32:09 +0000 |
| Subject: | note 90418 added to function.pcntl-signal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153548@lists.php.net to get a copy of this message | ||
I found out then when you use pcntl_signal in a 'deamon' script and you run it before you
fork childs it does not work as expected.
instead you need to use pcntl_signal in the child code of the child you are forking
and if you want to cach signals for the 'deamon' part you should use pcntl_signal in the
parent code.
----
Server IP: 91.199.167.18
Probable Submitter: 84.53.79.62
----
Manual Page -- http://www.php.net/manual/en/function.pcntl-signal.php
Edit -- https://master.php.net/note/edit/90418
Del: integrated -- https://master.php.net/note/delete/90418/integrated
Del: useless -- https://master.php.net/note/delete/90418/useless
Del: bad code -- https://master.php.net/note/delete/90418/bad+code
Del: spam -- https://master.php.net/note/delete/90418/spam
Del: non-english -- https://master.php.net/note/delete/90418/non-english
Del: in docs -- https://master.php.net/note/delete/90418/in+docs
Del: other reasons-- https://master.php.net/note/delete/90418
Reject -- https://master.php.net/note/reject/90418
Search -- https://master.php.net/manage/user-notes.php