TlsLast Variable
The
address of TlsLast
denotes the amount of memory
required for storing threadvar
variables. When a
thread starts up, Delphi allocates that much memory in the
thread-local storage (TLS) for storing threadvar
variables. The address is nil
if the program,
library, or package does not use any threadvar
variables, in which case the module does not allocate a TLS slot.