<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/src/tls_host.cpp, branch feat/acphal-xma2-decoder</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=feat%2Facphal-xma2-decoder</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=feat%2Facphal-xma2-decoder'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-22T11:29:51+00:00</updated>
<entry>
<title>tls_host: report thread attach and detach to a callback the loader sets</title>
<updated>2026-11-22T11:29:51+00:00</updated>
<author>
<name>omardev29</name>
<email>154835571+omardev29@users.noreply.github.com</email>
</author>
<published>2026-11-22T04:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a19602633b7f0e6ff5db7725c89a1bd11c244686'/>
<id>urn:sha1:a19602633b7f0e6ff5db7725c89a1bd11c244686</id>
<content type='text'>
The Windows loader calls gta6rt_tls_host.dll's DllMain with DLL_THREAD_ATTACH
on every new thread, after it has built the thread's TLS array, and with
DLL_THREAD_DETACH before it frees it. A new export,
gta6rt_tls_host_set_thread_event, lets the loader receive those events, so it
can give each thread the mapped image's TLS. DllMain still touches no TLS (the
helper's own slot is the one the loader swaps); the callback pointer is a plain
global. Nothing registers it yet.
</content>
</entry>
<entry>
<title>Runtime: install static TLS for mapped images</title>
<updated>2026-11-21T23:29:24+00:00</updated>
<author>
<name>Kam471</name>
<email>kam471@users.noreply.github.com</email>
</author>
<published>2026-11-21T22:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=993a2cbf72a9509ca730e509ea38e455d35f5a74'/>
<id>urn:sha1:993a2cbf72a9509ca730e509ea38e455d35f5a74</id>
<content type='text'>
</content>
</entry>
</feed>
