#include <Mutex.hpp>
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | Lock () |
void | Unlock () |
Mutex () | |
~Mutex () | |
VOID | Lock () |
VOID | Unlock () |
Private Attributes | |
pthread_mutex_t | PosixMutex |
CRITICAL_SECTION | CriticalSection |
System::Mutex::Mutex | ( | ) | [inline] |
Default constructor, initializes POSIX mutex.
System::Mutex::~Mutex | ( | ) | [inline] |
Destructor, destroys POSIX mutex.
System::Mutex::Mutex | ( | ) | [inline] |
Default constructor, initializes critical section.
System::Mutex::~Mutex | ( | ) | [inline] |
Destructor, destroys critical section.
void System::Mutex::Lock | ( | ) | [inline] |
Locks mutex object.
void System::Mutex::Unlock | ( | ) | [inline] |
Unlocks mutex object.
VOID System::Mutex::Lock | ( | ) | [inline] |
Locks mutex object (EnterCriticalSection).
VOID System::Mutex::Unlock | ( | ) | [inline] |
Unlocks mutex object (LeaveCriticalSection).
pthread_mutex_t System::Mutex::PosixMutex [private] |
POSIX Mutex Structure.
CRITICAL_SECTION System::Mutex::CriticalSection [private] |
Critical section structure.