Home
last modified time | relevance | path

Searched refs:_m_waiters (Results 1 – 18 of 18) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_mutex_timedlock.c37 if (!(type&4) && ((m->_m_lock & 0x40000000) || m->_m_waiters)) { in pthread_mutex_timedlock_pi()
38 a_store(&m->_m_waiters, -1); in pthread_mutex_timedlock_pi()
69 while (spins-- && m->_m_lock && !m->_m_waiters) a_spin(); in __pthread_mutex_timedlock()
80 a_inc(&m->_m_waiters); in __pthread_mutex_timedlock()
84 a_dec(&m->_m_waiters); in __pthread_mutex_timedlock()
Dpthread_mutex_unlock.c6 int waiters = m->_m_waiters; in __pthread_mutex_unlock()
Dpthread_mutex_trylock.c26 if (m->_m_waiters) tid |= 0x80000000; in __pthread_mutex_trylock_owner()
Dpthread_create.c104 int waiters = m->_m_waiters; in __pthread_exit()
/third_party/musl/src/thread/
Dpthread_mutex_timedlock.c37 if (!(type&4) && ((m->_m_lock & 0x40000000) || m->_m_waiters)) { in pthread_mutex_timedlock_pi()
38 a_store(&m->_m_waiters, -1); in pthread_mutex_timedlock_pi()
71 while (spins-- && m->_m_lock && !m->_m_waiters) a_spin(); in __pthread_mutex_timedlock()
82 a_inc(&m->_m_waiters); in __pthread_mutex_timedlock()
86 a_dec(&m->_m_waiters); in __pthread_mutex_timedlock()
Dpthread_mutex_trylock.c32 if (m->_m_waiters) tid |= 0x80000000; in __pthread_mutex_trylock_owner()
39 if ((type&12)==12 && m->_m_waiters) return ENOTRECOVERABLE; in __pthread_mutex_trylock_owner()
44 if ((type&8) && m->_m_waiters) { in __pthread_mutex_trylock_owner()
Dpthread_mutex_unlock.c6 int waiters = m->_m_waiters; in __pthread_mutex_unlock()
35 if (new) a_store(&m->_m_waiters, -1); in __pthread_mutex_unlock()
Dpthread_cond_timedwait.c150 a_inc(&m->_m_waiters); in __pthread_cond_timedwait()
159 a_dec(&m->_m_waiters); in __pthread_cond_timedwait()
Dpthread_create.c127 int waiters = m->_m_waiters; in __pthread_exit()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_mutex_timedlock.c53 if (!(type&4) && ((m->_m_lock & 0x40000000) || m->_m_waiters)) { in pthread_mutex_timedlock_pi()
54 a_store(&m->_m_waiters, -1); in pthread_mutex_timedlock_pi()
87 while (spins-- && m->_m_lock && !m->_m_waiters) a_spin(); in __pthread_mutex_timedlock_inner()
98 a_inc(&m->_m_waiters); in __pthread_mutex_timedlock_inner()
102 a_dec(&m->_m_waiters); in __pthread_mutex_timedlock_inner()
Dpthread_create.c207 int waiters = m->_m_waiters; in __pthread_exit()
/third_party/musl/porting/uniproton/kernel/src/internal/
Dpthread_impl.h34 #define _m_waiters __u.__vi[2] macro
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dpthread_impl.h34 #define _m_waiters __u.__vi[2] macro
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h29 #define _m_waiters __u.__vi[2] macro
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h81 #define _m_waiters __u.__vi[2] macro
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h91 #define _m_waiters __u.__vi[2] macro
/third_party/musl/src/internal/
Dpthread_impl.h88 #define _m_waiters __u.__vi[2] macro
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h118 #define _m_waiters __u.__vi[2] macro