Mac implementation of the FSystemWideCriticalSection. 更多...
#include <MacCriticalSection.h>
Public 成员函数 | |
| CORE_API | FMacSystemWideCriticalSection (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 | ~FMacSystemWideCriticalSection () |
| Destructor releases system-wide critical section if it is currently owned | |
Mac implementation of the FSystemWideCriticalSection.
Uses exclusive file locking.
| CORE_API bool FMacSystemWideCriticalSection::IsValid | ( | ) | const |
Does the calling thread have ownership of the system-wide critical section?