feat(libkernel): implement pthread_attr_setsolosched_np #1155
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1155"
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 MathiasDevelopes on 2026-10-07T15:23:12Z.
What
Implement
pthread_attr_setsolosched_np(libkernel). It stores the solo scheduling flag throughscePthreadAttrSetsolosched, soscePthreadAttrGetsoloschedreads it back, and returnsEINVALfor a null or uninitialized attribute, like the other POSIX attribute setters. It replaces theNotImplemented_nid_no_patchstub.Tested
Linux (Ubuntu 24.04, GCC 13.3), Release with
BUILD_TESTING=ON: full build,libstarget, andctest(396 passed, 0 failed; GPU tests skipped without a Vulkan device).guest_pthread_attrcovers the set/get round trip and bothEINVALcases; it aborts without the change and passes with it. Not tested on Windows or with a title.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-07T15:23:18Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T15:23:38Z.
Progress report (
1e5bb88→7c0bd59)📈 System libraries: 86.17% (+0.04%, +1 implemented functions)
✅ 1 implemented
pthread_attr_setsolosched_np_nid_postfixImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T19:37:01Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/tests/GuestPthreadAttr.cppL21Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T03:25:49Z.
Which title reaches
pthread_attr_setsolosched_npon main? With the title ID and the log line where it stops this can go in; otherwise I'll close it until one does. On #1258 the description says a title aborted onsceAudioOut2MasteringSetParam; please add its ID and that log line there, and it can go in.Imported from boykopovar/AnyPS5. Originally posted by MathiasDevelopes on 2026-10-08T03:52:19Z.
Could not reproduce now, closing this without merge; if a title turns up that actually stops on it, I'll reopen with the title ID and log line.
Imported from boykopovar/AnyPS5. Originally posted by CouchRiv on 2026-10-10T17:15:46Z.
@MathiasDevelopes a title that stops on it: Returnal (PPSA01285 v03.000.005). On
main57f96fd2bit stops earlier, on two exports no library has; with #2872, which adds them, it passes eager binding and then stops at:Linux, RTX 4070 Ti. If you reopen this, I can run Returnal on your branch and post the next stop.
AI-assisted: yes
Pull request closed