Req #16638 [Fbk]: Possibility to add more signals
| From: | leening at dmmw dot nl | Date: | Thu, 24 Sep 2009 11:28:05 +0000 |
| Subject: | Req #16638 [Fbk]: Possibility to add more signals | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1718@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16638&edit=1
ID: 16638
Updated by: leening@dmmw.nl
Reported By: leening at dmmw dot nl
Summary: Possibility to add more signals
Status: Feedback
Type: Feature/Change Request
Package: System_Daemon
Operating System: Ubuntu Linux 9.04
Package Version: 0.9.2
PHP Version: 5.2.5
Roadmap Versions:
New Comment:
Hi Kevin,
Thanks for your speedy reply!
I think all possible signals except unblockable ones, which i believe
are KILL and STOP. That leaves us with:
QUIT ILL TRAP BUS FPE SEGV USR2 STKFLT TSTP TTIN TTOU URG XCPU XFSZ
VTALRM PROF WINCH POLL PWR SYS RTMIN RTMIN+1 RTMIN+2 RTMIN+3 RTMAX-3
RTMAX-2 RTMAX-1 RTMAX
Please see "man kill" : http://unixhelp.ed.ac.uk/CGI/man-cgi?kill
Previous Comments:
------------------------------------------------------------------------
[2009-09-24 11:56:49] kvz
-Status: Open
+Status: Feedback
Hi Michiel,
Thanks for your request.
Could you provide me a list of all the signals that you would like to
see implemented?
Then I can wrap them up in 0.9.3
------------------------------------------------------------------------
[2009-09-24 09:46:06] leening
Description:
------------
It would be nice to have the ability to add more signals
Eg. right now only SIGUSR1 is defined, but SIGUSR2 would come in handy
(or any other signal for that matter)
Test script:
---------------
System_Daemon::setSigHandler(SIGUSR2, "myActionTwo");
Expected result:
----------------
That the daemon responds to SIGUSR2 :-)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16638&edit=1