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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alex946 at zokov dot net
New email:
PHP Version: OS:

 

 [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

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: Sat Sep 07 23:01:27 2024 UTC