Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Unix
Inheritance Hierarchy
- FGenericPlatformTLS
- FUnixTLS
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformTLS.h |
| Include | #include "Unix/UnixPlatformTLS.h" |
Syntax
struct FUnixTLS : public FGenericPlatformTLS
Remarks
Unix implementation of the TLS OS functions
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AllocTlsSlot () |
Allocates a thread local store slot | |
| void | |||
| void | FreeTlsSlot
(
uint32 SlotIndex |
Frees a previously allocated TLS slot | |
| uint32 | Returns the currently executing thread's id | ||
| void * | GetTlsValue
(
uint32 SlotIndex |
Reads the value stored at the specified TLS slot | |
| void | SetTlsValue
(
uint32 SlotIndex, |
Sets a value in the specified TLS slot |
Constants
| Name | Description |
|---|---|
| ThreadIdTLSKey | TLS key to store TID |