Home
last modified time | relevance | path

Searched refs:atomic_fetch_sub_explicit (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/include/bits/
Dstdatomic.h223 #define atomic_fetch_sub_explicit(object, operand, order) \ macro
251 atomic_fetch_sub_explicit(object, operand, memory_order_seq_cst)
/bionic/libc/bionic/
Dpthread_barrier.cpp159 if (atomic_fetch_sub_explicit(&barrier->wait_count, 1, memory_order_release) == 1) { in pthread_barrier_wait()
Dpthread_cond.cpp202 atomic_fetch_sub_explicit(&cond->waiters, 1, memory_order_relaxed); in __pthread_cond_timedwait()
Dpthread_rwlock.cpp502 old_state = atomic_fetch_sub_explicit(&rwlock->state, STATE_READER_COUNT_CHANGE_STEP, in pthread_rwlock_unlock()
Dpthread_mutex.cpp880 atomic_fetch_sub_explicit(&mutex->state, MUTEX_COUNTER_BITS_ONE, memory_order_relaxed); in pthread_mutex_unlock()
/bionic/libc/include/
Dstdatomic.h72 using std::atomic_fetch_sub_explicit;
/bionic/tests/
Dstdatomic_test.cpp157 ASSERT_EQ(122, atomic_fetch_sub_explicit(&i, 1, memory_order_relaxed)); in TEST()