engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FWindowsPlatformTLS结构体 参考

Windows implementation of the TLS OS functions. 更多...

#include <WindowsPlatformTLS.h>

+ 类 FWindowsPlatformTLS 继承关系图:

静态 Public 成员函数

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 identifier. 更多...
 
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. 更多...
 
- 静态 Public 成员函数 继承自 FGenericPlatformTLS
static FORCEINLINE bool IsValidTlsSlot (uint32 SlotIndex)
 Return false if this is an invalid TLS slot 更多...
 

详细描述

Windows implementation of the TLS OS functions.

成员函数说明

◆ AllocTlsSlot()

static FORCEINLINE uint32 FWindowsPlatformTLS::AllocTlsSlot ( void  )
inlinestatic

Allocates a thread local store slot.

返回
The index of the allocated slot.

◆ FreeTlsSlot()

static FORCEINLINE void FWindowsPlatformTLS::FreeTlsSlot ( uint32  SlotIndex)
inlinestatic

Frees a previously allocated TLS slot

参数
SlotIndexthe TLS index to store it in

◆ GetCurrentThreadId()

static FORCEINLINE uint32 FWindowsPlatformTLS::GetCurrentThreadId ( void  )
inlinestatic

Returns the currently executing thread's identifier.

返回
The thread identifier.

◆ GetTlsValue()

static FORCEINLINE void * FWindowsPlatformTLS::GetTlsValue ( uint32  SlotIndex)
inlinestatic

Reads the value stored at the specified TLS slot.

参数
SlotIndexThe index of the slot to read.
返回
The value stored in the slot.

◆ SetTlsValue()

static FORCEINLINE void FWindowsPlatformTLS::SetTlsValue ( uint32  SlotIndex,
void *  Value 
)
inlinestatic

Sets a value in the specified TLS slot.

参数
SlotIndexthe TLS index to store it in.
Valuethe value to store in the slot.

该结构体的文档由以下文件生成: