mutex->m_kind = mutex_attr == NULL ? PTHREAD_MUTEX_FAST_NP : mutex_attr->mutexkind; queue_init(&mutex->m_waiting);
int __pthread_mutex_init(pthread_mutex_t * mutex,                       const pthread_mutexattr_t * mutex_attr){  mutex->m_spinlock = 0;  mutex->m_count = 0;  mutex->m_owner = NULL;  mutex->m_kind =    mutex_attr == NULL ? PTHREAD_MUTEX_FAST_NP : mutex_attr->mutexkind;  queue_init(&mutex->m_waiting);  return 0;}