feat(libSceLibcInternal): implement std::_Mtx_init_with_default_name_override #16029
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16029"
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 JJenkx on 2026-11-05T11:52:12Z.
What
std::_Mtx_init_with_default_name_overridein libSceLibcInternal (the__sce_v236symbol_ZNSt8__sce_v236_Mtx_init_with_default_name_overrideEPP13pthread_mutexiPKc, NIDnaKdJL9d3nE) was a recovered-inventory placeholder that threwNotImplemented. PPSA16064 imports it.It now forwards to libc's
std::_Mtx_init_with_name(__sce_v219) with the same arguments. The mangled name fixes the parameter types (pthread_mutex**,int,const char*), and the result is that function's_Thrdcode.This matches libc's own unversioned
_Mtx_init_with_default_name_override, which already forwards to_Mtx_init_with_name.Debt:
SceLibcI_Mtxfor a null name is not measured.Tested
Linux 7.2.11, GCC 16.2.1, Release: head
b792fe2346merged ontomaine322066f82(see the Linux check comment).guest_libc_internal_mtx, extended:guest_libc_internal_mtxandguest_libc_threadspass. Onmainthe new calls throwNotImplemented.Not tested on PPSA16064.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)