Searched refs:atomic_compare_exchange_weak (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | semaphore.cpp | 155 } 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()
|
D | pthread_detach.cpp | 44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) { in pthread_detach()
|
D | pthread_join.cpp | 50 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { in pthread_join()
|
D | pthread_exit.cpp | 103 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_EXITED_NOT_JOINED)) { in pthread_exit()
|
D | pthread_key.cpp | 128 if (atomic_compare_exchange_weak(&key_map[i].seq, &seq, seq + SEQ_INCREMENT_STEP)) { in pthread_key_create()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 129 } 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/ |
D | stdatomic.h | 67 using std::atomic_compare_exchange_weak;
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 239 #define atomic_compare_exchange_weak(object, expected, desired) \ macro
|