/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/thread/ |
H A D | pthread_mutex_timedlock.c | 5 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 9 int r, t, priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_timedlock() 18 if (!(r=m->_m_lock) || ((r&0x40000000) && (m->_m_type&4))) in __pthread_mutex_timedlock() 20 if ((m->_m_type&3) == PTHREAD_MUTEX_ERRORCHECK in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_trylock.c | 6 int type = m->_m_type & 15; in __pthread_mutex_trylock_owner() 19 if (m->_m_type & 128) { in __pthread_mutex_trylock_owner() 46 m->_m_type |= 8; in __pthread_mutex_trylock_owner() 55 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL) in __pthread_mutex_trylock()
|
H A D | pthread_mutex_consistent.c | 5 if (!(m->_m_type & 8)) return EINVAL; in pthread_mutex_consistent() 8 m->_m_type &= ~8U; in pthread_mutex_consistent()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/src/thread/ |
H A D | pthread_mutex_timedlock.c | 5 int type = m->_m_type; in pthread_mutex_timedlock_pi() 40 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 44 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/thread/ |
H A D | pthread_cond_timedwait.c | 68 if ((m->_m_type&15) && (m->_m_lock&INT_MAX) != __pthread_self()->tid) in __pthread_cond_timedwait() 149 if (!node.next && !(m->_m_type & 8)) in __pthread_cond_timedwait() 157 unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); in __pthread_cond_timedwait() 158 } else if (!(m->_m_type & 8)) { in __pthread_cond_timedwait()
|
H A D | pthread_mutex_timedlock.c | 23 int type = m->_m_type; in pthread_mutex_timedlock_pi() 58 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 62 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
H A D | pthread_mutex_trylock.c | 6 int type = m->_m_type; in __pthread_mutex_trylock_owner() 69 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL) in __pthread_mutex_trylock()
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/thread/ |
H A D | pthread_cond_timedwait.c | 68 if ((m->_m_type&15) && (m->_m_lock&INT_MAX) != __pthread_self()->tid) in __pthread_cond_timedwait() 149 if (!node.next && !(m->_m_type & 8)) in __pthread_cond_timedwait() 157 unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); in __pthread_cond_timedwait() 158 } else if (!(m->_m_type & 8)) { in __pthread_cond_timedwait()
|
H A D | pthread_mutex_timedlock.c | 23 int type = m->_m_type; in pthread_mutex_timedlock_pi() 58 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 62 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
H A D | pthread_mutex_trylock.c | 6 int type = m->_m_type; in __pthread_mutex_trylock_owner() 69 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL) in __pthread_mutex_trylock()
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/ |
H A D | pthread_cond_timedwait.c | 68 if ((m->_m_type&15) && (m->_m_lock&INT_MAX) != __pthread_self()->tid) in __pthread_cond_timedwait() 149 if (!node.next && !(m->_m_type & 8)) in __pthread_cond_timedwait() 157 unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); in __pthread_cond_timedwait() 158 } else if (!(m->_m_type & 8)) { in __pthread_cond_timedwait()
|
H A D | pthread_mutex_timedlock.c | 23 int type = m->_m_type; in pthread_mutex_timedlock_pi() 58 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 62 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
H A D | pthread_mutex_trylock.c | 6 int type = m->_m_type; in __pthread_mutex_trylock_owner() 69 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL) in __pthread_mutex_trylock()
|
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/thread/ |
H A D | pthread_cond_timedwait.c | 68 if ((m->_m_type&15) && (m->_m_lock&INT_MAX) != __pthread_self()->tid) in __pthread_cond_timedwait() 149 if (!node.next && !(m->_m_type & 8)) in __pthread_cond_timedwait() 157 unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); in __pthread_cond_timedwait() 158 } else if (!(m->_m_type & 8)) { in __pthread_cond_timedwait()
|
H A D | pthread_mutex_timedlock.c | 23 int type = m->_m_type; in pthread_mutex_timedlock_pi() 58 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 62 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|
H A D | pthread_mutex_trylock.c | 6 int type = m->_m_type; in __pthread_mutex_trylock_owner() 69 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL) in __pthread_mutex_trylock()
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/ |
H A D | pthread_cond_timedwait.c | 68 if ((m->_m_type&15) && (m->_m_lock&INT_MAX) != __pthread_self()->tid) in __pthread_cond_timedwait() 149 if (!node.next && !(m->_m_type & 8)) in __pthread_cond_timedwait() 157 unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); in __pthread_cond_timedwait() 158 } else if (!(m->_m_type & 8)) { in __pthread_cond_timedwait()
|
H A D | pthread_mutex_timedlock.c | 23 int type = m->_m_type; in pthread_mutex_timedlock_pi() 58 if ((m->_m_type&15) == PTHREAD_MUTEX_NORMAL in __pthread_mutex_timedlock() 62 int type = m->_m_type; in __pthread_mutex_timedlock()
|
H A D | pthread_mutex_unlock.c | 8 int type = m->_m_type & 15; in __pthread_mutex_unlock() 9 int priv = (m->_m_type & 128) ^ 128; in __pthread_mutex_unlock()
|