[php-src] PR #13945: ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.
| From: | devnexen | Date: | Thu, 11 Apr 2024 20:24:29 +0000 |
| Subject: | [php-src] PR #13945: ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25719@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13945
Author: devnexen
Introducting macOs Quality Of Service through those two calls. on macOs arm64/M*, there is no
concept of individual cores, thus the old thread policy for cpu affinity does not work here.
Instead, the user can apply to the current process the level of
performance/energy consumption they wish from the highest
QOS_CLASS_USER_INTERACTIVE to QOS_CLASS_BACKGROUND.