OsTlsSetValue
function · os
- Address
0x436db0· 9 bytes, up to0x436db8- Meaning
- Stores a value in a TLS slot with TlsSetValue
- Confidence
- verified, proof one
- Finding
- core/threads#engine-thread-records
Finding: Engine thread records in core: process entry and threads
0x437060(name) registers the calling thread. Under the thread lock it counts the registration
and allocates the TLS slot for the first; a record already in the slot is unlinked and freed. The
new 0x189c-byte record holds the thread id at +0x08, a duplicate of the thread handle at +0x0c
and the text name [id] at +0x181c, and goes in the TLS slot and at the end of the record list.
0x4371e0 undoes it: it empties the slot, zeroes the bound object's +0x08, closes the handle,
unlinks and frees the record, and frees the slot when the count reaches 0.
The derivation is in the doc.
Callers 4
- CreateThreadPropSlot base
- SetThreadPropContext base
- RegisterEngineThread os
- UnregisterEngineThread os
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.