Originally Posted By: canuckInOR

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.


Yes. I am on Ubuntu 10 too. I saw the union in bits/pthreads.h but I wasn't sure it was the problem. Can you explain how the RawMutex class would need to be modified to allow a typedef'd union rather than a typedef'd struct?

Thanks,

-Scott