-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing SIGPOLL and SIGPWR signals on some systems #5
Comments
One work-around, for now, is to overload the I suppose the |
Output of macOS 10.13
FreeBSD 10-11
Seems like these signals are absent at all in that systems.
Changing to private works :) And |
Another way is to using of
|
Yeah, I thought of that. Would just need to change the constants in getSignals to strings instead. |
There are some WARNING messages:
PHP Warning: Use of undefined constant SIGPOLL - assumed 'SIGPOLL' (this will throw an Error in a future version of PHP) in …/lifo/php-daemon/src/Lifo/Daemon/Daemon.php on line 1969
PHP Warning: Use of undefined constant SIGPWR - assumed 'SIGPWR' (this will throw an Error in a future version of PHP) in …/vendor/lifo/php-daemon/src/Lifo/Daemon/Daemon.php on line 1969
Systems (where this PHP constants are missing):
How to check
Execute
php -r "echo SIGPOLL;"
andphp -r "echo SIGPWR;"
Is any way how to exclude some signals that not presented in system?
Maybe overloading of function getSignals helps to resolve? — Unfortunately it is private function now.
The text was updated successfully, but these errors were encountered: