Searched refs:_b_lock (Results 1 – 10 of 10) sorted by relevance
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_barrier_wait.c | 11 while ((v=a_cas(&b->_b_lock, 0, limit))) in pshared_barrier_wait() 12 __wait(&b->_b_lock, &b->_b_waiters, v, 0); in pshared_barrier_wait() 20 a_store(&b->_b_lock, 0); in pshared_barrier_wait() 21 if (b->_b_waiters) __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait() 39 v = b->_b_lock; in pshared_barrier_wait() 41 } while (a_cas(&b->_b_lock, v, v==INT_MIN+1 ? 0 : v-1) != v); in pshared_barrier_wait() 45 __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait() 72 while (a_swap(&b->_b_lock, 1)) in pthread_barrier_wait() 73 __wait(&b->_b_lock, &b->_b_waiters, 1, 1); in pthread_barrier_wait() 81 a_store(&b->_b_lock, 0); in pthread_barrier_wait() [all …]
|
/third_party/musl/src/thread/ |
D | pthread_barrier_wait.c | 11 while ((v=a_cas(&b->_b_lock, 0, limit))) in pshared_barrier_wait() 12 __wait(&b->_b_lock, &b->_b_waiters, v, 0); in pshared_barrier_wait() 20 a_store(&b->_b_lock, 0); in pshared_barrier_wait() 21 if (b->_b_waiters) __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait() 39 v = b->_b_lock; in pshared_barrier_wait() 41 } while (a_cas(&b->_b_lock, v, v==INT_MIN+1 ? 0 : v-1) != v); in pshared_barrier_wait() 45 __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait() 72 while (a_swap(&b->_b_lock, 1)) in pthread_barrier_wait() 73 __wait(&b->_b_lock, &b->_b_waiters, 1, 1); in pthread_barrier_wait() 81 a_store(&b->_b_lock, 0); in pthread_barrier_wait() [all …]
|
D | pthread_barrier_destroy.c | 6 if (b->_b_lock) { in pthread_barrier_destroy() 8 a_or(&b->_b_lock, INT_MIN); in pthread_barrier_destroy() 9 while ((v = b->_b_lock) & INT_MAX) in pthread_barrier_destroy() 10 __wait(&b->_b_lock, 0, v, 0); in pthread_barrier_destroy()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | pthread_impl.h | 48 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | pthread_impl.h | 48 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 43 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | pthread_impl.h | 95 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
D | pthread_impl.h | 105 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/porting/linux/user/src/internal/ |
D | pthread_impl.h | 155 #define _b_lock __u.__vi[0] macro
|
/third_party/musl/src/internal/ |
D | pthread_impl.h | 135 #define _b_lock __u.__vi[0] macro
|