#include <lightMutex.h>
Public Types | |
typedef LightScopedLock < LightMutexChar > | scoped_lock |
Public Member Functions | |
LightMutexChar () | |
bool | tryLock () |
bool | waitLock (int counter) |
void | lock () |
void | unlock () |
Private Attributes | |
volatile char | data |
Definition at line 112 of file lightMutex.h.
Definition at line 115 of file lightMutex.h.
osl::misc::LightMutexChar::LightMutexChar | ( | ) | [inline] |
Definition at line 116 of file lightMutex.h.
void osl::misc::LightMutexChar::lock | ( | ) | [inline] |
Definition at line 141 of file lightMutex.h.
References tryLock(), and waitLock().
bool osl::misc::LightMutexChar::tryLock | ( | ) | [inline] |
void osl::misc::LightMutexChar::unlock | ( | ) | [inline] |
Definition at line 150 of file lightMutex.h.
References data.
bool osl::misc::LightMutexChar::waitLock | ( | int | counter | ) | [inline] |
volatile char osl::misc::LightMutexChar::data [private] |
Definition at line 113 of file lightMutex.h.
Referenced by tryLock(), unlock(), and waitLock().