php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68505 Add missing PCNTL extension WCONTINUED constant and WIFCONTINUED macro (availab
Submitted: 2014-11-26 13:00 UTC Modified: 2015-08-29 05:58 UTC
From: xilon dot jul at gmail dot com Assigned: jpauli (profile)
Status: Closed Package: PCNTL related
PHP Version: master-Git-2014-11-26 (Git) OS: Debian 7
Private report: No CVE-ID: None
 [2014-11-26 13:00 UTC] xilon dot jul at gmail dot com
Description:
------------
PCNTL extension is missing WCONTINUED constant and WIFCONTINUED macro (available since kernel 2.6.10) to provide a better control over "forked" processes using the php cli binary.

This pull request propose to export a new function to php userland : pcntl_wifcontinued and a new constant  : WIFCONTINUED.

This would allow a better control of SIGCHLD signal handling whenever a process gets stopped and then resumed. At this time, a PHP program (process) cannot take action and read the child process status when a child is resumed by a SIGCONT.


Patches

pcntl_addition (last revision 2014-11-26 13:27 UTC by xilon dot jul at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-29 05:54 UTC] mbeccati@php.net
-Assigned To: +Assigned To: mbeccati
 [2015-08-29 05:58 UTC] mbeccati@php.net
-Status: Assigned +Status: Closed -Assigned To: mbeccati +Assigned To: jpauli
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC