![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WindowsPlatformTLS.h>
Inheritance diagram for FWindowsPlatformTLS:Static Public Member Functions | |
| static UE_FORCEINLINE_HINT uint32 | GetCurrentThreadId (void) |
| static UE_FORCEINLINE_HINT uint32 | AllocTlsSlot () |
| static UE_FORCEINLINE_HINT void | FreeTlsSlot (uint32 SlotIndex) |
| static void | SetTlsValue (uint32 SlotIndex, void *Value) |
| static void * | GetTlsValue (uint32 SlotIndex) |
Static Public Member Functions inherited from FGenericPlatformTLS | |
| static UE_FORCEINLINE_HINT bool | IsValidTlsSlot (uint32 SlotIndex) |
Additional Inherited Members | |
Static Public Attributes inherited from FGenericPlatformTLS | |
| static const uint32 | InvalidTlsSlot = 0xFFFFFFFF |
Windows implementation of the TLS OS functions.
|
inlinestatic |
Allocates a thread local store slot.
|
inlinestatic |
Frees a previously allocated TLS slot
| SlotIndex | the TLS index to store it in |
|
inlinestatic |
Returns the currently executing thread's identifier.
Reads the value stored at the specified TLS slot.
| SlotIndex | The index of the slot to read. |
Sets a value in the specified TLS slot.
| SlotIndex | the TLS index to store it in. |
| Value | the value to store in the slot. |