upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authoromardev29 <154835571+omardev29@users.noreply.github.com>2026-11-22 05:27:51 +0100
committeromardev29 <154835571+omardev29@users.noreply.github.com>2026-11-22 12:29:52 +0100
commit21b920bfb0579f242c2f1069971b238beaedeae6 (patch)
treea6013fce495a96d7f2e81dfda2f5c14f73fb508f /runtime/src/pe_loader.cpp
parente5d44d4b0fa912a902d59e6467fb7ddaab271fde (diff)
loader_tls_test: thread events after initialise() and a thread that outlives its Loader
tiny_tls counts DLL_THREAD_ATTACH/DETACH only for a thread the test names, so threads the process starts for itself can't change the counts; the test starts that thread suspended and names it before it runs. Checks: one attach before the thread's code runs, with the template value already readable in the callback; one detach when it ends; and a thread that is still running when its Loader is destroyed gets its copy freed when it ends, with the process carrying on.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions