System-Wide Critical Section for windows using mutex 更多...
#include <WindowsCriticalSection.h>
Public 成员函数 | |
| FWindowsSystemWideCriticalSection (const class FString &InName, FTimespan InTimeout=FTimespan::Zero()) | |
| Construct a named, system-wide critical section and attempt to get access/ownership of it | |
| bool | IsValid () const |
| Does the calling thread have ownership of the system-wide critical section? 更多... | |
| void | Release () |
| Releases system-wide critical section if it is currently owned | |
| ~FWindowsSystemWideCriticalSection () | |
| Destructor releases system-wide critical section if it is currently owned | |
System-Wide Critical Section for windows using mutex
| bool FWindowsSystemWideCriticalSection::IsValid | ( | ) | const |
Does the calling thread have ownership of the system-wide critical section?