INtime SDK Help
RtTlsFree
INtime SDK v6 > About INtime > INtime Kernel > RSLs (real-time shared libraries) > RtTlsFree

Marks a thread local storage slot free for reuse.

BOOLEAN RtTlsFree(
    DWORD tlsIndex
);

Parameters

tlsIndex
Index previously returned by a call to RtTlsAlloc.

Return Values

TRUE
Success.
FALSE
Failure. One of the following status values may be returned from GetLastRtError:
Value Description
E_CONTEXT The TLS resource has not been initialized.
E_PARAM The tlsIndex value is out of range.
E_STATE The tlsIndex value is not allocated.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also