diff --git a/NEWS b/NEWS index e76fa144dbe..a71c9967b0f 100644 --- a/NEWS +++ b/NEWS @@ -410,7 +410,7 @@ PHP NEWS - PCNTL: . Added pcntl_setns for Linux. (David Carlier) - . Added pcntl_getaffinity/pcntl_setaffinity. (David Carlier) + . Added pcntl_getcpuaffinity/pcntl_setcpuaffinity. (David Carlier) . Updated pcntl_get_signal_handler signal id upper limit to be more in line with platforms limits. (David Carlier) . Added pcntl_getcpu for Linux/FreeBSD/Solaris/Illumos. (David Carlier) diff --git a/UPGRADING b/UPGRADING index e1f03e2b06d..87c74d51ea8 100644 --- a/UPGRADING +++ b/UPGRADING @@ -739,8 +739,8 @@ PHP 8.4 UPGRADE NOTES - PCNTL: . Added pcntl_setns allowing a process to be reassociated with a namespace in order to share resources with other processes within this context. - . Added pcntl_getaffinity to get the cpu(s) bound to a process and - pcntl_setaffinity to bind 1 or more cpus to a process. + . Added pcntl_getcpuaffinity to get the cpu(s) bound to a process and + pcntl_setcpuaffinity to bind 1 or more cpus to a process. . Added pcntl_getcpu to get the cpu id from where the current process runs. . Added pcntl_getqos_class to get the QoS level (aka performance and related energy consumption) of the current process and pcntl_setqos_class to set it.