Home
last modified time | relevance | path

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

/bionic/libc/bionic/
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()
D__cxa_guard.cpp113 int old_value = atomic_exchange_explicit(&gv->state, CONSTRUCTION_COMPLETE, memory_order_release); in __cxa_guard_release()
122 …d_value = atomic_exchange_explicit(&gv->state, CONSTRUCTION_NOT_YET_STARTED, memory_order_release); in __cxa_guard_abort()
Dpthread_once.cpp74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
Dpthread_mutex.cpp198 memory_order_release, in PIMutexUnlock()
220 memory_order_release, in PIMutexUnlock()
630 memory_order_release) == locked_contended) { in NormalMutexUnlock()
892 old_state = atomic_exchange_explicit(&mutex->state, unlocked, memory_order_release); in pthread_mutex_unlock()
Dpthread_rwlock.cpp496 memory_order_release); in pthread_rwlock_unlock()
503 memory_order_release); in pthread_rwlock_unlock()
Dmalloc_common_dynamic.cpp476 atomic_store_explicit(&gZygoteChildProfileable, true, memory_order_release); in android_mallopt()
/bionic/tests/
Dstdatomic_test.cpp54 atomic_thread_fence(memory_order_release); in TEST()
63 atomic_signal_fence(memory_order_release); in TEST()
201 atomic_store_explicit(&a->y, i, memory_order_release); in writer()
204 atomic_store_explicit(&a->y, i+1, memory_order_release); in writer()
/bionic/libc/system_properties/
Dsystem_properties.cpp256 atomic_thread_fence(memory_order_release); in Update()
262 atomic_thread_fence(memory_order_release); in Update()
267 memory_order_release); in Update()
307 memory_order_release); in Add()
Dprop_area.cpp251 atomic_store_explicit(&current->left, new_offset, memory_order_release); in find_prop_bt()
267 atomic_store_explicit(&current->right, new_offset, memory_order_release); in find_prop_bt()
299 atomic_store_explicit(&current->children, new_offset, memory_order_release); in find_property()
324 atomic_store_explicit(&current->prop, new_offset, memory_order_release); in find_property()
/bionic/libc/private/
Dbionic_lock.h74 if (atomic_exchange_explicit(&state, Unlocked, memory_order_release) == LockedWithWaiter) { in unlock()
/bionic/benchmarks/
Datomic_benchmark.cpp78 test_loc.store(++i, std::memory_order_release); in BM_atomic_store_release()
/bionic/libc/include/
Dstdatomic.h86 using std::memory_order_release;
/bionic/libc/include/bits/
Dstdatomic.h132 memory_order_release = __ATOMIC_RELEASE, enumerator