#include <mutex.h>
Public Types | |
typedef void | base_type |
typedef mutex | this_type |
Public Member Functions | |
void | lock (void) |
mutex (void) | |
bool | tryLock (void) |
void | unlock (void) |
~mutex (void) | |
Private Attributes | |
pthread_mutex_t | m |
Friends | |
class | condition |
typedef void mt::mutex::base_type |
typedef mutex mt::mutex::this_type |
mt::mutex::mutex | ( | void | ) | [inline] |
mt::mutex::~mutex | ( | void | ) | [inline] |
void mt::mutex::lock | ( | void | ) | [inline] |
bool mt::mutex::tryLock | ( | void | ) | [inline] |
void mt::mutex::unlock | ( | void | ) | [inline] |
pthread_mutex_t mt::mutex::m [private] |