php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_pcntl.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Jason Greene <jason@inetgurus.net> |
14 +----------------------------------------------------------------------+
15 */
16
17#ifndef PHP_PCNTL_H
18#define PHP_PCNTL_H
19
20#if defined(HAVE_DECL_WCONTINUED) && HAVE_DECL_WCONTINUED == 1 && defined(HAVE_WIFCONTINUED) && HAVE_WIFCONTINUED == 1
21#define HAVE_WCONTINUED 1
22#endif
23
25#define phpext_pcntl_ptr &pcntl_module_entry
26
27#include "php_version.h"
28#define PHP_PCNTL_VERSION PHP_VERSION
29
35
39#ifdef HAVE_STRUCT_SIGINFO_T
40 siginfo_t siginfo;
41#endif
42};
43
49 volatile char pending_signals;
51 unsigned num_signals;
53
54#if defined(ZTS) && defined(COMPILE_DL_PCNTL)
56#endif
57
59#define PCNTL_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(pcntl, v)
60
61#endif /* PHP_PCNTL_H */
zend_module_entry pcntl_module_entry
Definition pcntl.c:151
#define PHP_MSHUTDOWN_FUNCTION
Definition php.h:401
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
#define PHP_RINIT_FUNCTION
Definition php.h:402
#define PHP_RSHUTDOWN_FUNCTION
Definition php.h:403
bool async_signals
Definition php_pcntl.h:50
unsigned num_signals
Definition php_pcntl.h:51
int last_error
Definition php_pcntl.h:48
struct php_pcntl_pending_signal * head
Definition php_pcntl.h:47
int processing_signal_queue
Definition php_pcntl.h:46
volatile char pending_signals
Definition php_pcntl.h:49
struct php_pcntl_pending_signal * tail
Definition php_pcntl.h:47
struct php_pcntl_pending_signal * spares
Definition php_pcntl.h:47
HashTable php_signal_table
Definition php_pcntl.h:45
struct php_pcntl_pending_signal * next
Definition php_pcntl.h:37
#define ZEND_TSRMLS_CACHE_EXTERN()
Definition zend.h:67
#define ZEND_END_MODULE_GLOBALS(module_name)
Definition zend_API.h:248
#define ZEND_EXTERN_MODULE_GLOBALS(module_name)
Definition zend_API.h:270
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
Definition zend_API.h:246
int32_t zend_long
Definition zend_long.h:42
struct _zend_module_entry zend_module_entry
struct _zend_array HashTable
Definition zend_types.h:386