commore
1.0.6-SNAPSHOT
|
#include <CriticalSection.h>
Public Member Functions | |
void | enter () |
void | leave () |
bool | try_enter () |
System independent Critical section management
void commore::CriticalSection::enter | ( | ) |
Enter in criical section, wait until free
void commore::CriticalSection::leave | ( | ) |
Leave critical section. Allow other thread to enter.
bool commore::CriticalSection::try_enter | ( | ) |