Home
last modified time | relevance | path

Searched refs:memory_order_release (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
D__cxa_guard.cpp115 int old_value = atomic_exchange_explicit(&gv->state, CONSTRUCTION_COMPLETE, memory_order_release); in __cxa_guard_release()
124 …d_value = atomic_exchange_explicit(&gv->state, CONSTRUCTION_NOT_YET_STARTED, memory_order_release); in __cxa_guard_abort()
Dpthread_barrier.cpp148 atomic_store_explicit(&barrier->state, RELEASE, memory_order_release); in pthread_barrier_wait()
159 if (atomic_fetch_sub_explicit(&barrier->wait_count, 1, memory_order_release) == 1) { in pthread_barrier_wait()
162 atomic_store_explicit(&barrier->state, WAIT, memory_order_release); in pthread_barrier_wait()
Dpthread_once.cpp74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
Dsystem_properties.cpp396 atomic_store_explicit(&current->left, new_offset, memory_order_release); in find_prop_bt()
412 atomic_store_explicit(&current->right, new_offset, memory_order_release); in find_prop_bt()
444 atomic_store_explicit(&current->children, new_offset, memory_order_release); in find_property()
469 atomic_store_explicit(&current->prop, new_offset, memory_order_release); in find_property()
1349 atomic_thread_fence(memory_order_release); in __system_property_update()
1352 atomic_store_explicit(&pi->serial, (len << 24) | ((serial + 1) & 0xffffff), memory_order_release); in __system_property_update()
1356 memory_order_release); in __system_property_update()
1393 memory_order_release); in __system_property_add()
Dpthread_rwlock.cpp460 memory_order_release); in pthread_rwlock_unlock()
467 memory_order_release); in pthread_rwlock_unlock()
Dpthread_mutex.cpp350 memory_order_release) == locked_contended) { in __pthread_normal_mutex_unlock()
572 old_state = atomic_exchange_explicit(&mutex->state, unlocked, memory_order_release); in pthread_mutex_unlock()
/bionic/libc/private/
Dbionic_lock.h73 if (atomic_exchange_explicit(&state, Unlocked, memory_order_release) == LockedWithWaiter) { in unlock()
/bionic/tests/
Dstdatomic_test.cpp52 atomic_thread_fence(memory_order_release); in TEST()
61 atomic_signal_fence(memory_order_release); in TEST()
204 atomic_store_explicit(&a->y, i, memory_order_release); in writer()
207 atomic_store_explicit(&a->y, i+1, memory_order_release); in writer()
/bionic/benchmarks/
Datomic_benchmark.cpp76 test_loc.store(++i, std::memory_order_release); in BM_store_release()
/bionic/libc/include/
Dstdatomic.h90 using std::memory_order_release;
252 memory_order_release = __ATOMIC_RELEASE, enumerator