feat(libc): export the guest hardware concurrency hint #5415
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5415"
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-13T19:21:17Z.
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.Replaces the obsolete base of closed #2961, which was automatically closed for intake pause. Targeted current GitHub search found no other open PR implementing this exact export.
Tested
Windows 10 Pro 22H2 x64 (build 19045), MinGW GCC 15.2.0: built the complete candidate libc.prx from this branch and ran the functional
guest_hardware_concurrencyregression successfully. Tests use synthetic guest-ABI inputs; no game startup, Linux/macOS build or maintainer CI run is claimed.Based on main
dacd78525e537a779682032c0ace7f7af120af05; candidatee188818cabdbc1443615b1c326639cb130eb00a4. No dumps, runtime packages, investigation reports or images are included. No speed improvement is claimed.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T19:22:14Z.
Progress report (
dacd785→e188818)➖ System libraries: 88.15% (+0.0%, +1 implemented functions)
✅ 1 implemented
_ZNSt8__sce_v226_Thrd_hardware_concurrencyEv_nid_postfixImported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T01:28:22Z.
Review: COMMENTED
Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (
Unblocks: noneis allowed), and it contained no code review.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:27:10Z.
Closing: no title is known to reach this. With the queue at 700+ open PRs, please hold off on new PRs that don't name a title needing the change until it's down. If a title stops on this on current main, reopen with the title ID and the log line.
Imported from boykopovar/AnyPS5. Originally posted by Prophet069 on 2026-10-15T05:08:07Z.
PPSA02015 reaches it
Pull request closed