KJB
|
same as Pthread_mutex, but starts off in "locked" state. More...
#include <l_mt_mutexlock.h>
Public Member Functions | |
Pthread_locked_mutex () | |
Public Member Functions inherited from kjb::Pthread_mutex | |
Pthread_mutex (void(Pthread_mutex::*pmf)()=0) | |
dynamic mutex: unlock before you destroy it! More... | |
virtual | ~Pthread_mutex () |
dtor cleans up the mutex, which MUST be unlocked beforehand. More... | |
void | lock () |
lock this mutex More... | |
void | unlock () |
unlock this mutex More... | |
int | try_lock () |
try to lock; return WOULD_BLOCK if locked, else NO_ERROR. More... | |
same as Pthread_mutex, but starts off in "locked" state.
|
inline |