48 rc = pthread_mutex_destroy(&
mutex->m_impl);
56 rc = pthread_mutex_lock(&
mutex->m_impl);
64 rc = pthread_mutex_unlock(&
mutex->m_impl);
72 rc = pthread_mutex_trylock(&
mutex->m_impl);
M0_INTERNAL void m0_arch_mutex_init(struct m0_arch_mutex *mutex)
M0_INTERNAL void m0_arch_mutex_lock(struct m0_arch_mutex *mutex)
M0_INTERNAL void m0_arch_mutex_unlock(struct m0_arch_mutex *mutex)
#define M0_ASSERT_INFO(cond, fmt,...)
M0_INTERNAL int m0_arch_mutex_trylock(struct m0_arch_mutex *mutex)
M0_INTERNAL void m0_arch_mutex_fini(struct m0_arch_mutex *mutex)