/third_party/musl/src/thread/ |
D | pthread_rwlock_timedwrlock.c | 11 while (spins-- && rw->_rw_lock && !rw->_rw_waiters) a_spin(); in __pthread_rwlock_timedwrlock() 14 if (!(r=rw->_rw_lock)) continue; in __pthread_rwlock_timedwrlock() 17 a_cas(&rw->_rw_lock, r, t); in __pthread_rwlock_timedwrlock() 18 r = __timedwait(&rw->_rw_lock, t, CLOCK_REALTIME, at, rw->_rw_shared^128); in __pthread_rwlock_timedwrlock()
|
D | pthread_rwlock_timedrdlock.c | 11 while (spins-- && rw->_rw_lock && !rw->_rw_waiters) a_spin(); in __pthread_rwlock_timedrdlock() 14 if (!(r=rw->_rw_lock) || (r&0x7fffffff)!=0x7fffffff) continue; in __pthread_rwlock_timedrdlock() 17 a_cas(&rw->_rw_lock, r, t); in __pthread_rwlock_timedrdlock() 18 r = __timedwait(&rw->_rw_lock, t, CLOCK_REALTIME, at, rw->_rw_shared^128); in __pthread_rwlock_timedrdlock()
|
D | pthread_rwlock_unlock.c | 8 val = rw->_rw_lock; in __pthread_rwlock_unlock() 12 } while (a_cas(&rw->_rw_lock, val, new) != val); in __pthread_rwlock_unlock() 15 __wake(&rw->_rw_lock, cnt, priv); in __pthread_rwlock_unlock()
|
D | pthread_rwlock_tryrdlock.c | 7 val = rw->_rw_lock; in __pthread_rwlock_tryrdlock() 11 } while (a_cas(&rw->_rw_lock, val, val+1) != val); in __pthread_rwlock_tryrdlock()
|
D | pthread_rwlock_trywrlock.c | 5 if (a_cas(&rw->_rw_lock, 0, 0x7fffffff)) return EBUSY; in __pthread_rwlock_trywrlock()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_rwlock_timedwrlock.c | 30 while (spins-- && rw->_rw_lock && !rw->_rw_waiters) a_spin(); in __pthread_rwlock_timedwrlock() 33 if (!(r=rw->_rw_lock)) continue; in __pthread_rwlock_timedwrlock() 36 a_cas(&rw->_rw_lock, r, t); in __pthread_rwlock_timedwrlock() 37 r = __timedwait(&rw->_rw_lock, t, clock, at, rw->_rw_shared^128); in __pthread_rwlock_timedwrlock()
|
D | pthread_rwlock_timedrdlock.c | 27 while (spins-- && rw->_rw_lock && !rw->_rw_waiters) a_spin(); in __pthread_rwlock_timedrdlock() 30 if (!(r=rw->_rw_lock) || (r&0x7fffffff)!=0x7fffffff) continue; in __pthread_rwlock_timedrdlock() 33 a_cas(&rw->_rw_lock, r, t); in __pthread_rwlock_timedrdlock() 34 r = __timedwait(&rw->_rw_lock, t, clock, at, rw->_rw_shared^128); in __pthread_rwlock_timedrdlock()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | pthread_impl.h | 45 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | pthread_impl.h | 45 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 40 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | pthread_impl.h | 92 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
D | pthread_impl.h | 102 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/src/internal/ |
D | pthread_impl.h | 99 #define _rw_lock __u.__vi[0] macro
|
/third_party/musl/porting/linux/user/src/internal/ |
D | pthread_impl.h | 131 #define _rw_lock __u.__vi[0] macro
|