#include <WindowsCriticalSection.h>
System-Wide Critical Section for windows using mutex
Definition at line 77 of file WindowsCriticalSection.h.
◆ FWindowsSystemWideCriticalSection() [1/2]
Construct a named, system-wide critical section and attempt to get access/ownership of it
◆ ~FWindowsSystemWideCriticalSection()
FWindowsSystemWideCriticalSection::~FWindowsSystemWideCriticalSection |
( |
| ) |
|
Destructor releases system-wide critical section if it is currently owned
◆ FWindowsSystemWideCriticalSection() [2/2]
◆ IsValid()
bool FWindowsSystemWideCriticalSection::IsValid |
( |
| ) |
const |
Does the calling thread have ownership of the system-wide critical section?
- Returns
- True if obtained. WARNING: Returns true for an owned but previously abandoned locks so shared resources can be in undetermined states. You must handle shared data robustly.
◆ operator=()
◆ Release()
void FWindowsSystemWideCriticalSection::Release |
( |
| ) |
|
Releases system-wide critical section if it is currently owned
◆ Mutex
The documentation for this class was generated from the following file: