[php-src] master: ext/pcntl: signals list update for dragonflybsd related to checkpoint.
| From: | David Carlier | Date: | Mon, 22 Apr 2024 20:22:12 +0000 |
| Subject: | [php-src] master: ext/pcntl: signals list update for dragonflybsd related to checkpoint. | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-128209@lists.php.net to get a copy of this message | ||
Author: David Carlier (devnexen)
Date: 2024-04-22T21:21:52+01:00
Commit: https://github.com/php/php-src/commit/3a300e9213813a7f85ffd11f21c423aeb444cd81
Raw diff: https://github.com/php/php-src/commit/3a300e9213813a7f85ffd11f21c423aeb444cd81.diff
ext/pcntl: signals list update for dragonflybsd related to checkpoint.
- SIGCKPT checkpoint and continue.
- SIGCKPTEXIT checkpoint and exit.
Close GH-14011
Changed paths:
M NEWS
M UPGRADING
M ext/pcntl/pcntl.stub.php
M ext/pcntl/pcntl_arginfo.h
Diff:
diff --git a/NEWS b/NEWS
index b8297ce7cec1..198b040dc5a4 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
diff --git a/UPGRADING b/UPGRADING
index b231fd7e8ef0..1554d988875a 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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.
diff --git a/ext/pcntl/pcntl.stub.php b/ext/pcntl/pcntl.stub.php
index cf1b5a4cced5..7db1e8ed594e 100644
--- a/ext/pcntl/pcntl.stub.php
+++ b/ext/pcntl/pcntl.stub.php
@@ -243,6 +243,20 @@
*/
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
diff --git a/ext/pcntl/pcntl_arginfo.h b/ext/pcntl/pcntl_arginfo.h
index 734fb3976e0a..003f9cb5393d 100644
--- a/ext/pcntl/pcntl_arginfo.h
+++ b/ext/pcntl/pcntl_arginfo.h
@@ -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