24 #ifndef PthreadMutex_h
25 #define PthreadMutex_h
28 #ifdef EXTERNAL_TEMPLATES
46 inline operator pthread_mutex_t* () {
return &
theMutex; }
47 inline operator const pthread_mutex_t* ()
const {
return &
theMutex; }
PthreadMutex & Lock(void)
PthreadMutex & Give(void)
PthreadMutexProtected(PthreadMutex &tm)
PthreadMutex & Unlock(void)
void TrapError(int result)
PthreadMutex & Take(void)