From ddaeb203b2cd1c9506c684fb6c928cbbe8daa7a3 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Wed, 14 Aug 2024 13:18:27 +0200 Subject: [PATCH] [skip ci] 8.4 | UPGRADING: fix incorrect function names Ref: https://github.com/php/php-src/commit/1cf8291c8519919eb58d00f25f0b917363fed971#diff-d22d5ad00ee9f000cb8c8f9a5cfb905a8de91e7dc4a633896e2c5ab4ad1513d1 --- NEWS | 2 +- UPGRADING | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.