![]() |
Ark Server API (ASA) - Wiki
|
#include <WindowsCriticalSection.h>
Collaboration diagram for FWindowsCriticalSection:Public Member Functions | |
| FWindowsCriticalSection (const FWindowsCriticalSection &)=delete | |
| FWindowsCriticalSection & | operator= (const FWindowsCriticalSection &)=delete |
| FORCEINLINE | FWindowsCriticalSection () |
| FORCEINLINE | ~FWindowsCriticalSection () |
| FORCEINLINE void | Lock () |
| FORCEINLINE bool | TryLock () |
| FORCEINLINE void | Unlock () |
Private Attributes | |
| Windows::CRITICAL_SECTION | CriticalSection |
This is the Windows version of a critical section. It uses an aggregate CRITICAL_SECTION to implement its locking.
Definition at line 15 of file WindowsCriticalSection.h.
|
delete |
|
inline |
Constructor that initializes the aggregated critical section
Definition at line 24 of file WindowsCriticalSection.h.
Here is the call graph for this function:
|
inline |
Destructor cleaning up the critical section
Definition at line 34 of file WindowsCriticalSection.h.
Here is the call graph for this function:
|
inline |
Locks the critical section
Definition at line 42 of file WindowsCriticalSection.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
inline |
Attempt to take a lock and returns whether or not a lock was taken.
Definition at line 52 of file WindowsCriticalSection.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Releases the lock on the critical section
Definition at line 64 of file WindowsCriticalSection.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The windows specific critical section
Definition at line 73 of file WindowsCriticalSection.h.