#include <CriticalSection.h>
System independent Critical section management
- Examples:
- /examples/coding/Logs.cpp.
CriticalSection::CriticalSection |
( |
| ) |
|
CriticalSection::~CriticalSection |
( |
| ) |
|
void CriticalSection::enter |
( |
| ) |
|
Enter in criical section, wait until free
void CriticalSection::leave |
( |
| ) |
|
Leave critical section. Allow other thread to enter.
bool CriticalSection::try_enter |
( |
| ) |
|
- Returns
- true if critical section is free (does ot wait)
The documentation for this class was generated from the following files: