Free Thread-Local Storage index
Source position: exec.pas line 2346
function TLSFree( |
Idx: LongWord |
):LongInt; |
Idx |
|
Index to free. Must have been allocated with TLSAlloc earlier. Passing TLS_INVALID_INDEX is safe and does nothing. |
Deallocates a Thread-Local Storage index and returns it to the global index pool.
Attention
It is illegal to free a Thread-Local Storage index while it is still in use. Unspecified bad things may happen if this is done. The caller is responsible for ensuring that TLSFree is not called prematurely.
|
VarArgs version of TLSAllocA |
|
|
get the task specific value associated with a given Thread-Local Storage index (V51.46) |
|
|
set the task specific value associated with a given Thread-Local Storage index (V51.46) |
|
|
Call Thread-Local Storage index destructors for the given task (V51.46) |