feat(libc): export the guest hardware concurrency hint #2961
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2961"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Prophet069 on 2026-10-10T18:56:18Z.
What
The PS5 C++ namespace export for
_Thrd_hardware_concurrencyis absent. Forward its unsigned hint through the existing guest ABI tostd::thread::hardware_concurrency, including the permitted unknown/zero result. The functional regression compares the host processor hint and calls it from multiple threads.Tested
Windows: affected libc built from this branch with a standalone CMake driver using the repository libc target; functional CTest
guest_hardware_concurrencypassed (0.03 s). Linux/macOS and full-project CI not run. This is not a claim of a recorded title crash on unmodified main.Base:
3cb317fcfd877f93b0b65adbe7b737ba1ba5123f; candidate:34224888aad3dc31d1b71abe125b10dbaf489355.python tools/check_conventions.py --base origin/mainpassed.Checklist
main; no other open PR implements the same functionsTests were run on1476f769 and retained across the conflict-free rebase to3cb317fc. That upstream interval does not change the tested libc/decoder/IR sources. No game was started for this submission.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T19:05:48Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T19:21:18Z.
Progress report (
3cb317f→3422488)➖ System libraries: 84.48% (+0.0%, +1 implemented functions)
✅ 1 implemented
_ZNSt8__sce_v226_Thrd_hardware_concurrencyEv_nid_postfixPull request closed