feat(libSceUlt): add underscore mutex and queue create exports #3760
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3760"
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 13hourstilliland on 2026-10-11T16:31:40Z.
What
Adds
_sceUltMutexOptParamInitialize(NID1+8t9aHLiz8),_sceUltMutexCreate(mmt8Sa6tL6c),_sceUltQueueDataResourcePoolCreate(TFHm6-N6vks) and_sceUltQueueCreate(9Y5keOvb6ok). Each forwards to the export without the underscore, as_sceUltWaitingQueueResourcePoolCreate,_sceUltSemaphoreCreateand the_sceUltUlthread*exports already do. The NIDs were confirmed withtools/nid_names.py. KytyPS5 binds the same NIDs to the Ult functions. The existing TechnicalDebt line for the underscore Ult exports now lists them. This replaces the Ult part of #3387; the rest of that PR is already inmainor left out.Tested
Linux (GCC 14.2):
guest_ult_thread_underscoredcreatenow initializes and creates a mutex through the new exports, then locks and unlocks it. It also creates a data pool and a queue, and pushes and pops a value. The test fails to link on currentmainand passes with this change. All 11guest_ulttests pass, andcheck_conventions.pypasses. Not tested 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 github-actions[bot] on 2026-10-11T16:32:03Z.
Progress report (
a11c8f7→54b9b93)📈 System libraries: 85.83% (+0.02%, +4 implemented functions)
✅ 4 implemented
_sceUltMutexCreate_sceUltMutexOptParamInitialize_sceUltQueueCreate_sceUltQueueDataResourcePoolCreateImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:29:31Z.
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)docs/dev/TechnicalDebt.mdL56-57docs/dev/TechnicalDebt.mdL57Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:58:41Z.
Checked the four forwarders against their targets (same signatures), the NIDs with
tools/nid_names.pyand KytyPS5libUlt.cpp:721-726, andguest_ult_thread_underscoredcreate: it fails to link without the change and passes with it; the 30 libSceUlt/libs tests pass on the PR merged onto main. TechnicalDebt line updated in the right section. Merging.