#include <WindowsPlatformTLS.h>
Windows implementation of the TLS OS functions.
Definition at line 13 of file WindowsPlatformTLS.h.
◆ AllocTlsSlot()
Allocates a thread local store slot.
- Returns
- The index of the allocated slot.
Definition at line 31 of file WindowsPlatformTLS.h.
◆ FreeTlsSlot()
Frees a previously allocated TLS slot
- Parameters
-
SlotIndex | the TLS index to store it in |
Definition at line 63 of file WindowsPlatformTLS.h.
◆ GetCurrentThreadId()
Returns the currently executing thread's identifier.
- Returns
- The thread identifier.
Definition at line 21 of file WindowsPlatformTLS.h.
◆ GetTlsValue()
Reads the value stored at the specified TLS slot.
- Parameters
-
SlotIndex | The index of the slot to read. |
- Returns
- The value stored in the slot.
Definition at line 53 of file WindowsPlatformTLS.h.
◆ SetTlsValue()
Sets a value in the specified TLS slot.
- Parameters
-
SlotIndex | the TLS index to store it in. |
Value | the value to store in the slot. |
Definition at line 42 of file WindowsPlatformTLS.h.
The documentation for this struct was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Public/API/UE/Windows/WindowsPlatformTLS.h