diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-07-29 16:59:10 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-07-29 16:59:10 +0000 |
commit | c58e2b9d20610b652535ccd01a8643dcf425742c (patch) | |
tree | 1d45b0f0db2a37524b5b9258043fd224491126a5 /ext/pcntl/php_pcntl.h | |
parent | 204fcbe5d3ffb4a9c1383e39f7549b8326801894 (diff) | |
download | php-git-c58e2b9d20610b652535ccd01a8643dcf425742c.tar.gz |
MFH: Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r-- | ext/pcntl/php_pcntl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index cd6d82e1f0..2b957222c5 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -45,6 +45,13 @@ PHP_FUNCTION(pcntl_wtermsig); PHP_FUNCTION(pcntl_wstopsig); PHP_FUNCTION(pcntl_signal); PHP_FUNCTION(pcntl_signal_dispatch); +#ifdef HAVE_SIGPROCMASK +PHP_FUNCTION(pcntl_sigprocmask); +#endif +#if HAVE_SIGWAITINFO && HAVE_SIGTIMEDWAIT +PHP_FUNCTION(pcntl_sigwaitinfo); +PHP_FUNCTION(pcntl_sigtimedwait); +#endif PHP_FUNCTION(pcntl_exec); #ifdef HAVE_GETPRIORITY PHP_FUNCTION(pcntl_getpriority); |