Searched refs:memory_order_release (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_barrier.cpp | 148 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.cpp | 113 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()
|
D | pthread_once.cpp | 74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
|
D | pthread_mutex.cpp | 198 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()
|
D | pthread_rwlock.cpp | 497 memory_order_release); in pthread_rwlock_unlock() 504 memory_order_release); in pthread_rwlock_unlock()
|
D | malloc_common_dynamic.cpp | 492 atomic_store_explicit(&gZygoteChildProfileable, true, memory_order_release); in android_mallopt()
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 308 atomic_thread_fence(memory_order_release); in Update() 318 atomic_thread_fence(memory_order_release); in Update() 327 memory_order_release); in Update() 331 memory_order_release); in Update() 395 memory_order_release); in Add() 402 atomic_thread_fence(memory_order_release); in Add() 411 memory_order_release); in Add()
|
D | prop_area.cpp | 254 atomic_store_explicit(¤t->left, new_offset, memory_order_release); in find_prop_trie_node() 270 atomic_store_explicit(¤t->right, new_offset, memory_order_release); in find_prop_trie_node() 302 atomic_store_explicit(¤t->children, new_offset, memory_order_release); in find_property() 327 atomic_store_explicit(¤t->prop, new_offset, memory_order_release); in find_property()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 54 atomic_thread_fence(memory_order_release); in TEST() 63 atomic_signal_fence(memory_order_release); in TEST() 204 atomic_store_explicit(&a->y, i, memory_order_release); in writer() 211 atomic_store_explicit(&a->y, i+1, memory_order_release); in writer()
|
/bionic/libc/private/ |
D | bionic_lock.h | 74 if (atomic_exchange_explicit(&state, Unlocked, memory_order_release) == LockedWithWaiter) { in unlock()
|
/bionic/benchmarks/ |
D | atomic_benchmark.cpp | 80 test_loc.store(++i, std::memory_order_release); in BM_atomic_store_release()
|
/bionic/libc/include/ |
D | stdatomic.h | 86 using std::memory_order_release;
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 132 memory_order_release = __ATOMIC_RELEASE, enumerator
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 109 tid_.store(gettid(), std::memory_order_release); in LogReader()
|