INtime SDK Help
RtTlsAlloc
INtime SDK v7.1 > About INtime > INtime Kernel > RSLs (real-time shared libraries) > RtTlsAlloc

Allocates a thread-local storage index. This index may then be used to store and retrieve values that are local to this thread.

DWORD RtTlsAlloc(
    void
);

Parameters

None.

Return Values

A valid index.
Success.
0xFFFFFFFF
Failure. Table is full and no more entries are available. There are TLS_MINIMUM_AVAILABLE slots in the table.
The value returned by GetLastRtError is E_LIMIT.

Requirements

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