php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49067 pcntl_sigtimedwait not callable
Submitted: 2009-07-26 16:18 UTC Modified: 2009-07-27 08:37 UTC
From: alex946 at zokov dot net Assigned:
Status: Closed Package: PCNTL related
PHP Version: 5.3.0 OS: Mac OS X 10.5.6 Intel
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 + 35 = ?
Subscribe to this entry?

 
 [2009-07-26 16:18 UTC] alex946 at zokov dot net
Description:
------------
php compiled with --enable-pcntl

Reproduce code:
---------------
php -r 'var_dump(is_callable('pcntl_sigtimedwait'),is_callable('pcntl_signal'));'


Expected result:
----------------
bool(true)
bool(true)


Actual result:
--------------
bool(false)
bool(true)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-26 16:23 UTC] alex946 at zokov dot net
/Users/alex/php2/bin/php -r 'var_dump(PHP_VERSION,is_callable('pcntl_sigtimedwait'),is_callable('pcntl_signal'));'

string(5) "5.3.0"
bool(false)
bool(true))
 [2009-07-26 19:33 UTC] jani@php.net
Are you sure that the function is even available on your system? 
Check your main/php_config.h for HAVE_SIGWAITINFO and HAVE_SIGTIMEDWAIT 
macros.
 [2009-07-27 08:37 UTC] alex946 at zokov dot net
in file
/usr/include/signal.h 
don't find "int	sigwaitinfo"

Mac OS X 10.5.6 Not support sigwaitinfo and sigtimedwait)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC