Searched refs:atomic_fetch_sub_explicit (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/include/ |
D | stdatomic.h | 72 using std::atomic_fetch_sub_explicit; 320 #define atomic_fetch_sub_explicit(object, operand, order) \ macro 348 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_rwlock.cpp | 478 old_state = atomic_fetch_sub_explicit(&rwlock->state, STATE_READER_COUNT_CHANGE_STEP, in pthread_rwlock_unlock()
|
D | pthread_mutex.cpp | 871 atomic_fetch_sub_explicit(&mutex->state, MUTEX_COUNTER_BITS_ONE, memory_order_relaxed); in pthread_mutex_unlock()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 160 ASSERT_EQ(122, atomic_fetch_sub_explicit(&i, 1, memory_order_relaxed)); in TEST()
|