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

Unix implementation of the FSystemWideCriticalSection. 更多...

#include <UnixCriticalSection.h>

Public 成员函数

CORE_API FUnixSystemWideCriticalSection (const FString &InName, FTimespan InTimeout=FTimespan::Zero())
 Construct a named, system-wide critical section and attempt to get access/ownership of it
 
CORE_API bool IsValid () const
 Does the calling thread have ownership of the system-wide critical section? 更多...
 
CORE_API void Release ()
 Releases system-wide critical section if it is currently owned
 
CORE_API ~FUnixSystemWideCriticalSection ()
 Destructor releases system-wide critical section if it is currently owned
 

详细描述

Unix implementation of the FSystemWideCriticalSection.

Uses exclusive file locking.

成员函数说明

◆ IsValid()

CORE_API bool FUnixSystemWideCriticalSection::IsValid ( ) const

Does the calling thread have ownership of the system-wide critical section?

返回
True if the system-wide lock is obtained. WARNING: Returns true for abandoned locks so shared resources can be in undetermined states.

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