.. / TLS

Description:

Thread Local Storage is a feature that allows each thread to have its own memory space for storing and retrieving data using global allocation indexes. When a thread starts, it is allocated a block of dynamic memory and stores a pointer to this memory in a thread slot.



TLS Image

Functions:

Kernel32.dll

TlsAlloc

TlsFree

TlsGetValue

TlsGetValue2

TlsSettValue

UpdateProcThreadAttribute


References: