Repository navigation
Conversation
9 tasks done
Feuris
force-pushed
the
feat/libc-mtx-cnd-cxa-strings
branch
from
October 12, 2026 09:52
901831d to
fa78758
Compare
This was referenced Oct 12, 2026
Feuris
force-pushed
the
feat/libc-mtx-cnd-cxa-strings
branch
from
October 12, 2026 23:18
fa78758 to
14a6e1e
Compare
Collaborator
|
Closing: no title is shown to reach |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This pull request implements several missing standard library runtime functions in
libc.prxrequired by titles importing C++ ABI, Dinkumware threading primitives and wide string functions:_Mtx_init_with_name(tgioGpKtmbE): forwards to_Mtx_init, ignoring the name parameter._Cnd_timedwait(McaImWKXong): converts the targetXtimedeadline to a system clock time point and waits on the condition variable until expiration or notification, returning_Thrd_timedout(2) on expiration and_Thrd_success(0) on notification.__cxa_thread_atexit(BKSCW2bCACA): forwards to__cxa_thread_atexit_impl. In__cxa_thread_atexit_impl, resetsdsotonullptron Windows to prevent MinGW CRT runtime assertions when guest callers pass non-null DSO handles.wcscat(KZm8HUIX2Rw): wide string concatenation for 16-bitchar16_tunits.wcsnlen_s(K+v+cnmGoH4): bounded wide string length per C11 Annex K for 16-bitchar16_tunits.GuestLibcTimedWait.cppandGuestWideStrings.cpp, and registered__cxa_thread_atexit_nid_postfixinThreadLocalDestructors.cmake.docs/dev/TechnicalDebt.md.Tested
guest_libc_timed_waitunit test passes.guest_wide_stringsunit test passes.guest_thread_callback_abiunit test passes.guest_stringsunit test passes.prx_thread_local_destructorstest passes.python tools/check_conventions.py --base origin/mainpasses with 0 errors.git diff --check origin/mainclean.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)