Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_weak (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp155 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_dec()
175 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_trydec()
208 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_inc()
Dpthread_detach.cpp44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) { in pthread_detach()
Dpthread_join.cpp50 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { in pthread_join()
Dpthread_exit.cpp103 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) { in pthread_exit()
Dpthread_key.cpp128 if (atomic_compare_exchange_weak(&key_map[i].seq, &seq, seq + SEQ_INCREMENT_STEP)) { in pthread_key_create()
/bionic/tests/
Dstdatomic_test.cpp129 } while(!atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
130 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
/bionic/libc/include/
Dstdatomic.h67 using std::atomic_compare_exchange_weak;
/bionic/libc/include/bits/
Dstdatomic.h239 #define atomic_compare_exchange_weak(object, expected, desired) \ macro