Searched refs:atomic_mtx (Results 1 – 2 of 2) sorted by relevance
174 extern userland_mutex_t atomic_mtx;178 InitializeCriticalSection(&atomic_mtx);181 DeleteCriticalSection(&atomic_mtx);184 EnterCriticalSection(&atomic_mtx);187 LeaveCriticalSection(&atomic_mtx);201 (void)pthread_mutex_destroy(&atomic_mtx);205 KASSERT(pthread_mutex_lock(&atomic_mtx) == 0, ("atomic_lock: atomic_mtx already locked"))207 (void)pthread_mutex_lock(&atomic_mtx);212 KASSERT(pthread_mutex_unlock(&atomic_mtx) == 0, ("atomic_unlock: atomic_mtx not locked"))214 (void)pthread_mutex_unlock(&atomic_mtx);
61 userland_mutex_t atomic_mtx; variable