[GH-ISSUE #1562] claiming: RT-CRT-QUICK-EXIT-TLS, RT-COMPAT-DIR-RUNTIME-LOADS (while #14 is at the 2,500-comment cap) #34

Closed
opened 2026-11-26 20:14:04 +01:00 by 4ld0 · 3 comments
Owner

Originally created by @Mike7581 on GitHub (Nov 25, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/1562

#14 is at GitHub's 2,500-comment cap, so these go here (as #1554 did).

claiming: RT-CRT-QUICK-EXIT-TLS — the game's at_quick_exit handlers (_crt_at_quick_exit) and thread-local destructor callback (_register_thread_local_exe_atexit_callback) still reach the host CRT (runtime/shims/process.cpp:14, runtime/README.md:497). Run tables of their own, held to the native Windows sequence in run_tiny_atexit. No game files, CPU only.

claiming: RT-COMPAT-DIR-RUNTIME-LOADS — a run-time LoadLibrary does not take the LEONIDA_COMPAT_DIR module (runtime/README.md:114), and GetProcAddress on a compat handle can resolve to the shim of the same module name. library_loader asks the Loader's compat step first; synthetic cases in loader_test. No game files, CPU only.

done: MVP-GPU-04 -> #1549 (claimed in #14, comment 7151252490; #14 no longer takes comments)

Originally created by @Mike7581 on GitHub (Nov 25, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/1562 #14 is at GitHub's 2,500-comment cap, so these go here (as #1554 did). claiming: RT-CRT-QUICK-EXIT-TLS — the game's `at_quick_exit` handlers (`_crt_at_quick_exit`) and thread-local destructor callback (`_register_thread_local_exe_atexit_callback`) still reach the host CRT (`runtime/shims/process.cpp:14`, `runtime/README.md:497`). Run tables of their own, held to the native Windows sequence in `run_tiny_atexit`. No game files, CPU only. claiming: RT-COMPAT-DIR-RUNTIME-LOADS — a run-time `LoadLibrary` does not take the `LEONIDA_COMPAT_DIR` module (`runtime/README.md:114`), and `GetProcAddress` on a compat handle can resolve to the shim of the same module name. `library_loader` asks the Loader's compat step first; synthetic cases in `loader_test`. No game files, CPU only. done: MVP-GPU-04 -> #1549 (claimed in #14, comment 7151252490; #14 no longer takes comments)
4ld0 closed this issue 2026-11-26 20:14:04 +01:00
Author
Owner

@Mike7581 commented on GitHub (Nov 25, 2026):

done: RT-CRT-QUICK-EXIT-TLS -> #1564
done: RT-COMPAT-DIR-RUNTIME-LOADS -> #1565

<!-- gh-comment-id:7153097630 --> @Mike7581 commented on GitHub (Nov 25, 2026): done: RT-CRT-QUICK-EXIT-TLS -> #1564 done: RT-COMPAT-DIR-RUNTIME-LOADS -> #1565
Author
Owner

@lixonik commented on GitHub (Nov 25, 2026):

Thanks for posting this while #14 was full. I added the coordination entry and a link back here in #1608, the continuation of #14. Would you consider closing this temporary issue now that the status is recorded there?

<!-- gh-comment-id:7154635636 --> @lixonik commented on GitHub (Nov 25, 2026): Thanks for posting this while #14 was full. I added the coordination entry and a link back here in [#1608, the continuation of #14](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7154627786). Would you consider closing this temporary issue now that the status is recorded there?
Author
Owner

@Mike7581 commented on GitHub (Nov 25, 2026):

Of course, thanks!

<!-- gh-comment-id:7155458177 --> @Mike7581 commented on GitHub (Nov 25, 2026): Of course, thanks!
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#34
No description provided.