Searched refs:memory_order_acquire (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | __cxa_guard.cpp | 82 int old_value = atomic_load_explicit(&gv->state, memory_order_acquire); in __cxa_guard_acquire() 93 memory_order_acquire /* or relaxed in C++17 */, in __cxa_guard_acquire() 94 memory_order_acquire)) { in __cxa_guard_acquire() 101 memory_order_acquire /* or relaxed in C++17 */, in __cxa_guard_acquire() 102 memory_order_acquire)) { in __cxa_guard_acquire() 108 old_value = atomic_load_explicit(&gv->state, memory_order_acquire); in __cxa_guard_acquire()
|
D | pthread_once.cpp | 54 int old_value = atomic_load_explicit(once_control_ptr, memory_order_acquire); in pthread_once() 65 memory_order_acquire, memory_order_acquire)) { in pthread_once() 83 old_value = atomic_load_explicit(once_control_ptr, memory_order_acquire); in pthread_once()
|
D | pthread_barrier.cpp | 120 while(atomic_load_explicit(&barrier->state, memory_order_acquire) == RELEASE) { in pthread_barrier_wait() 154 while (atomic_load_explicit(&barrier->state, memory_order_acquire) == WAIT) { in pthread_barrier_wait() 175 while (atomic_load_explicit(&barrier->state, memory_order_acquire) == RELEASE) { in pthread_barrier_destroy()
|
D | pthread_mutex.cpp | 282 locked_uncontended, memory_order_acquire, memory_order_relaxed))) { in __pthread_normal_mutex_trylock() 326 memory_order_acquire) != unlocked) { in __pthread_normal_mutex_lock() 452 locked_uncontended, memory_order_acquire, memory_order_relaxed))) { in __pthread_mutex_lock_with_timeout() 470 memory_order_acquire, in __pthread_mutex_lock_with_timeout() 612 memory_order_acquire, in pthread_mutex_trylock()
|
D | pthread_key.cpp | 94 atomic_thread_fence(memory_order_acquire); in pthread_key_clean_all()
|
D | pthread_rwlock.cpp | 282 memory_order_acquire, memory_order_relaxed))) { in __pthread_rwlock_tryrdlock() 353 __state_add_writer_flag(old_state), memory_order_acquire, memory_order_relaxed))) { in __pthread_rwlock_trywrlock()
|
D | system_properties.cpp | 1148 return atomic_load_explicit(pa->serial(), memory_order_acquire); in __system_property_area_serial() 1185 atomic_thread_fence(memory_order_acquire); in __system_property_read() 1217 atomic_thread_fence(memory_order_acquire); in __system_property_read_callback() 1404 uint32_t serial = load_const_atomic(&pi->serial, memory_order_acquire); in __system_property_serial() 1407 serial = load_const_atomic(&pi->serial, memory_order_acquire); in __system_property_serial() 1437 new_serial = load_const_atomic(serial_ptr, memory_order_acquire); in __system_property_wait()
|
/bionic/libc/private/ |
D | bionic_lock.h | 56 LockedWithoutWaiter, memory_order_acquire, memory_order_relaxed)); in trylock() 62 LockedWithoutWaiter, memory_order_acquire, memory_order_relaxed))) { in lock() 65 while (atomic_exchange_explicit(&state, LockedWithWaiter, memory_order_acquire) != Unlocked) { in lock()
|
/bionic/benchmarks/ |
D | atomic_benchmark.cpp | 66 result += test_loc.load(std::memory_order_acquire); in BM_load_acquire() 118 std::atomic_thread_fence(std::memory_order_acquire); in BM_acquire_fence()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 51 atomic_thread_fence(memory_order_acquire); in TEST() 60 atomic_signal_fence(memory_order_acquire); in TEST() 218 yval = atomic_load_explicit(&a->y, memory_order_acquire); in reader()
|
/bionic/libc/include/ |
D | stdatomic.h | 89 using std::memory_order_acquire; 251 memory_order_acquire = __ATOMIC_ACQUIRE, enumerator
|