engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FHoloLensCriticalSection类 参考

This is the HoloLens version of a critical section. 更多...

#include <HoloLensCriticalSection.h>

Public 成员函数

FORCEINLINE FHoloLensCriticalSection ()
 Constructor that initializes the aggregated critical section
 
FORCEINLINE void Lock ()
 Locks the critical section
 
FORCEINLINE bool TryLock ()
 Attempt to take a lock and returns whether or not a lock was taken. 更多...
 
FORCEINLINE void Unlock ()
 Releases the lock on the critical seciton
 
FORCEINLINE ~FHoloLensCriticalSection ()
 Destructor cleaning up the critical section
 

详细描述

This is the HoloLens version of a critical section.

It uses an aggregate CRITICAL_SECTION to implement its locking.

成员函数说明

◆ TryLock()

FORCEINLINE bool FHoloLensCriticalSection::TryLock ( )
inline

Attempt to take a lock and returns whether or not a lock was taken.

返回
true if a lock was taken, false otherwise.

该类的文档由以下文件生成: