Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_detach.cpp42 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) { in pthread_detach()
Dpthread_join.cpp46 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { in pthread_join()
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_exit.cpp96 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) { in pthread_exit()
Dpthread_key.cpp122 if (atomic_compare_exchange_weak(&key_map[i].seq, &seq, seq + SEQ_INCREMENT_STEP)) { in pthread_key_create()
/bionic/tests/
Dstdatomic_test.cpp128 ASSERT_TRUE(atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
129 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
/bionic/libc/include/
Dstdatomic.h80 using std::atomic_compare_exchange_weak;
515 #define atomic_compare_exchange_weak(object, expected, desired) \ macro