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()
Dsemaphore.cpp156 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_dec()
176 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_trydec()
209 } while (!atomic_compare_exchange_weak(sem_count_ptr, &old_value, in __sem_inc()
Dpthread_join.cpp46 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { in pthread_join()
Dpthread_exit.cpp101 !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.cpp132 } while(!atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
133 ASSERT_FALSE(atomic_compare_exchange_weak(&i, &expected, 456)); in TEST()
/bionic/libc/include/
Dstdatomic.h71 using std::atomic_compare_exchange_weak;
479 #define atomic_compare_exchange_weak(object, expected, desired) \ macro