Branch: refs/heads/webkitglib/2.54
Home: https://github.com/WebKit/WebKit
Commit: e5cd030eeefade69ef365ad0d6e7af46a2b75389
https://github.com/WebKit/WebKit/commit/e5cd030eeefade69ef365ad0d6e7af46a2b75389
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-20 (Thu, 20 Aug 2026)
Changed paths:
M Source/WTF/wtf/NumberOfCores.cpp
Log Message:
-----------
Cherry-pick 319108@main (5fc5182bcf83).
https://bugs.webkit.org/show_bug.cgi?id=321672
[WTF] numberOfProcessorCores() should honor the env var
NUMBER_OF_PROCESSORS if set
https://bugs.webkit.org/show_bug.cgi?id=321672
Reviewed by Justin Michaud.
We use this env var on the CI bots to tell the test runner how much
parallelism it
can use, so WTF::numberOfProcessorCores() should honor that if set.
The other env var honored there which is named "WTF_numberOfProcessorCores"
was
added on 185692@main and I don't see it used anywhere, but I kept it out of
precaution and with higher priority than NUMBER_OF_PROCESSORS.
* Source/WTF/wtf/NumberOfCores.cpp:
(WTF::numberOfProcessorCores):
Canonical link: https://commits.webkit.org/319108@main
Canonical link: https://commits.webkit.org/317695.120@webkitglib/2.54
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications