Home
last modified time | relevance | path

Searched refs:_b_count (Results 1 – 9 of 9) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_barrier_wait.c15 if (++b->_b_count == limit) { in pshared_barrier_wait()
16 a_store(&b->_b_count, 0); in pshared_barrier_wait()
18 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
22 while ((v=b->_b_count)>0) in pshared_barrier_wait()
23 __wait(&b->_b_count, &b->_b_waiters2, v, 0); in pshared_barrier_wait()
29 if (a_fetch_add(&b->_b_count, -1)==1-limit) { in pshared_barrier_wait()
30 a_store(&b->_b_count, 0); in pshared_barrier_wait()
31 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
33 while ((v=b->_b_count)) in pshared_barrier_wait()
34 __wait(&b->_b_count, &b->_b_waiters2, v, 0); in pshared_barrier_wait()
/third_party/musl/src/thread/
Dpthread_barrier_wait.c15 if (++b->_b_count == limit) { in pshared_barrier_wait()
16 a_store(&b->_b_count, 0); in pshared_barrier_wait()
18 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
22 while ((v=b->_b_count)>0) in pshared_barrier_wait()
23 __wait(&b->_b_count, &b->_b_waiters2, v, 0); in pshared_barrier_wait()
29 if (a_fetch_add(&b->_b_count, -1)==1-limit) { in pshared_barrier_wait()
30 a_store(&b->_b_count, 0); in pshared_barrier_wait()
31 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
33 while ((v=b->_b_count)) in pshared_barrier_wait()
34 __wait(&b->_b_count, &b->_b_waiters2, v, 0); in pshared_barrier_wait()
/third_party/musl/porting/uniproton/kernel/src/internal/
Dpthread_impl.h51 #define _b_count __u.__vi[3] macro
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dpthread_impl.h51 #define _b_count __u.__vi[3] macro
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h46 #define _b_count __u.__vi[3] macro
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h98 #define _b_count __u.__vi[3] macro
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h108 #define _b_count __u.__vi[3] macro
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h158 #define _b_count __u.__vi[3] macro
/third_party/musl/src/internal/
Dpthread_impl.h138 #define _b_count __u.__vi[3] macro