typedef struct _xmutex xmutex;