Searched refs:atomic_fetch_sub_explicit (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/include/bits/ |
D | stdatomic.h | 223 #define atomic_fetch_sub_explicit(object, operand, order) \ macro 251 atomic_fetch_sub_explicit(object, operand, memory_order_seq_cst)
|
/bionic/libc/bionic/ |
D | pthread_barrier.cpp | 159 if (atomic_fetch_sub_explicit(&barrier->wait_count, 1, memory_order_release) == 1) { in pthread_barrier_wait()
|
D | pthread_cond.cpp | 202 atomic_fetch_sub_explicit(&cond->waiters, 1, memory_order_relaxed); in __pthread_cond_timedwait()
|
D | pthread_rwlock.cpp | 502 old_state = atomic_fetch_sub_explicit(&rwlock->state, STATE_READER_COUNT_CHANGE_STEP, in pthread_rwlock_unlock()
|
D | pthread_mutex.cpp | 880 atomic_fetch_sub_explicit(&mutex->state, MUTEX_COUNTER_BITS_ONE, memory_order_relaxed); in pthread_mutex_unlock()
|
/bionic/libc/include/ |
D | stdatomic.h | 72 using std::atomic_fetch_sub_explicit;
|
/bionic/tests/ |
D | stdatomic_test.cpp | 157 ASSERT_EQ(122, atomic_fetch_sub_explicit(&i, 1, memory_order_relaxed)); in TEST()
|