Quote:
Code:
mutex.h:62: error: base type ‘pthread_mutex_t’ fails to be a struct or class type

On my system (Ubuntu 10.04), pthread_mutex_t is actually defined in <bits/pthreadtypes.h> as a union, rather than a struct (as it was in older versions of <pthread.h>). You'll need to rework the RawMutex class.