1 #include "pthread_impl.h"
6 if (m
->_m_type
== PTHREAD_MUTEX_NORMAL
&& !a_cas(&m
->_m_lock
, 0, EBUSY
))
8 /* Calling mtx_timedlock with a null pointer is an extension.
9 * It is convenient, here to avoid duplication of the logic
10 * for return values. */
11 return mtx_timedlock(m
, 0);