Searched refs:mutex_ (Results 1 - 3 of 3) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A D_mutex.h20 } mutex_; member in union:mtx::__anon159
H A Dmutex.h53 mutex_lock(&mutex->u.mutex_.lock);
54 mutex->u.mutex_.owner = find_thread(NULL);
67 if (mutex_trylock(&mutex->u.mutex_.lock) != B_OK)
69 mutex->u.mutex_.owner = find_thread(NULL);
86 mutex->u.mutex_.owner = -1;
87 mutex_unlock(&mutex->u.mutex_.lock);
108 return mutex->u.mutex_.owner == find_thread(NULL);
/haiku/src/libs/compat/freebsd_network/
H A Dmutex.c30 mutex_init_etc(&mutex->u.mutex_.lock, name, MUTEX_FLAG_CLONE_NAME);
31 mutex->u.mutex_.owner = -1;
55 mutex_destroy(&mutex->u.mutex_.lock);

Completed in 45 milliseconds