#include <CriticalSection.hpp>
Public Member Functions | |
| CriticalSection () | |
| Default constructor to be used. | |
| virtual | ~CriticalSection () |
| Unlock and destroy the mutex. | |
| void | Enter () const |
| Locks the mutex. | |
| void | Leave () const |
| Unlocks the mutex. | |
Just declare the critical section object and use Enter() and Leave() functions.
| CarobNS::CriticalSection::CriticalSection | ( | ) | [inline] |
Default constructor to be used.
Creates and initializes the critical section mutex
1.5.0