25 class Pthread_Mutex :
public Mutex
30 if(pthread_mutex_lock(&mutex) != 0)
36 if(pthread_mutex_unlock(&mutex) != 0)
42 if(pthread_mutex_init(&mutex, 0) != 0)
48 pthread_mutex_destroy(&mutex);
51 pthread_mutex_t mutex;
54 return new Pthread_Mutex();