I have something like this:
typedef struct { pthread_mutex_t mtx; /* Other stuff */ } some_struct_t; void some_