get the task specific value associated with a given Thread-Local Storage index (V51.46)
Source position: exec.pas line 2347
function TLSGetValue( |
Idx: LongWord |
):Pointer; |
Idx |
|
index to return value for. |
value associated with the current task.
Return the task specific value currently associated with the given Thread-Local Storage index. Initial value is NULL if not yet set with TLSSetValue.
Attention
This function is safe to abort mid-execution: This means that there is are global locks, nor does any state change during the execution of this function. Typically you don't need to care about such issues but in some specific instances this information is valueable.
This function is very fast.
|
VarArgs version of TLSAllocA |
|
|
Free Thread-Local Storage index |
|
|
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) |