1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/pcntl: signals list update for dragonflybsd related to checkpoint.

- SIGCKPT checkpoint and continue.
- SIGCKPTEXIT checkpoint and exit.

Close GH-14011
This commit is contained in:
David Carlier
2024-04-19 20:19:12 +01:00
parent a27cdd65f3
commit 3a300e9213
4 changed files with 24 additions and 1 deletions

1
NEWS
View File

@@ -136,6 +136,7 @@ PHP NEWS
more in line with platforms limits. (David Carlier)
. Added pcntl_getcpu for Linux/FreeBSD. (David Carlier)
. Added pcntl_getqos_class/pcntl_setqos_class for macOs. (David Carlier)
. Added SIGCKPT/SIGCKPTEXIT constants for DragonFlyBSD. (David Carlier)
- PCRE:
. Upgrade bundled pcre2lib to version 10.43. (nielsdos)

View File

@@ -593,6 +593,8 @@ PHP 8.4 UPGRADE NOTES
. QosClass::UserInteractive (macOs only).
. QosClass::UserInitiated (macOs only).
. QosClass::Utility (macOs only).
. SIGCKPT (DragonFlyBSD only).
. SIGCKPTEXIT (DragonFlyBSD only).
- Standard:
. PHP_ROUND_CEILING.

View File

@@ -243,6 +243,20 @@ const SIGSYS = UNKNOWN;
*/
const SIGBABY = UNKNOWN;
#endif
#ifdef SIGCKPT
/**
* @var int
* @cvalue LONG_CONST(SIGCKPT)
*/
const SIGCKPT = UNKNOWN;
#endif
#ifdef SIGCKPTEXIT
/**
* @var int
* @cvalue LONG_CONST(SIGCKPTEXIT)
*/
const SIGCKPTEXIT = UNKNOWN;
#endif
#ifdef SIGRTMIN
/**
* @var int

View File

@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 3e15bebb568e6e2031acbd932d6eefbd23984c83 */
* Stub hash: 775838bf2abbf32933f5cec6e4a85e07e8cea247 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pcntl_fork, 0, 0, IS_LONG, 0)
ZEND_END_ARG_INFO()
@@ -374,6 +374,12 @@ static void register_pcntl_symbols(int module_number)
#if defined(SIGSYS)
REGISTER_LONG_CONSTANT("SIGBABY", LONG_CONST(SIGSYS), CONST_PERSISTENT);
#endif
#if defined(SIGCKPT)
REGISTER_LONG_CONSTANT("SIGCKPT", LONG_CONST(SIGCKPT), CONST_PERSISTENT);
#endif
#if defined(SIGCKPTEXIT)
REGISTER_LONG_CONSTANT("SIGCKPTEXIT", LONG_CONST(SIGCKPTEXIT), CONST_PERSISTENT);
#endif
#if defined(SIGRTMIN)
REGISTER_LONG_CONSTANT("SIGRTMIN", LONG_CONST(SIGRTMIN), CONST_PERSISTENT);
#endif