HoloLens implementation of the TLS OS functions
更多...
#include <HoloLensPlatformTLS.h>
|
|
static FORCEINLINE uint32 | AllocTlsSlot (void) |
| | Allocates a thread local store slot
|
| |
| static FORCEINLINE void | FreeTlsSlot (uint32 SlotIndex) |
| | Frees a previously allocated TLS slot 更多...
|
| |
|
static FORCEINLINE uint32 | GetCurrentThreadId (void) |
| | Returns the currently executing thread's id
|
| |
| static FORCEINLINE void * | GetTlsValue (uint32 SlotIndex) |
| | Reads the value stored at the specified TLS slot 更多...
|
| |
| static FORCEINLINE void | SetTlsValue (uint32 SlotIndex, void *Value) |
| | Sets a value in the specified TLS slot 更多...
|
| |
| static FORCEINLINE bool | IsValidTlsSlot (uint32 SlotIndex) |
| | Return false if this is an invalid TLS slot 更多...
|
| |
HoloLens implementation of the TLS OS functions
◆ FreeTlsSlot()
| static FORCEINLINE void FHoloLensTLS::FreeTlsSlot |
( |
uint32 |
SlotIndex | ) |
|
|
inlinestatic |
Frees a previously allocated TLS slot
- 参数
-
| SlotIndex | the TLS index to store it in |
◆ GetTlsValue()
| static FORCEINLINE void * FHoloLensTLS::GetTlsValue |
( |
uint32 |
SlotIndex | ) |
|
|
inlinestatic |
Reads the value stored at the specified TLS slot
- 返回
- the value stored in the slot
◆ SetTlsValue()
| static FORCEINLINE void FHoloLensTLS::SetTlsValue |
( |
uint32 |
SlotIndex, |
|
|
void * |
Value |
|
) |
| |
|
inlinestatic |
Sets a value in the specified TLS slot
- 参数
-
| SlotIndex | the TLS index to store it in |
| Value | the value to store in the slot |
该结构体的文档由以下文件生成: