Lines Matching refs:os_atomic_load
895 while (os_atomic_load(var, acquire) != num) { in wait_threads()
897 if (os_atomic_load(var, acquire) != num) { in wait_threads()
1086 while (os_atomic_load(&info->threads[i], acquire) == NULL) { in wait_for_waiters()
1096 thread = os_atomic_load(&info->threads[i], relaxed); in wait_for_waiters()
1125 while (os_atomic_load(&info->threads[i], acquire) == NULL) { in exclude_current_waiter()
1132 if (os_atomic_load(&info->threads[i], acquire) == current_thread()) { in exclude_current_waiter()
2346 while (os_atomic_load(&info->head.threads[info->head.nthreads - 1], acquire) == NULL) { in thread_sleep_gate_chain_work()
2365 if (self == os_atomic_load(&info->head.threads[0], acquire)) { in thread_sleep_gate_chain_work()
2438 while (os_atomic_load(&info->head.threads[info->head.nthreads - 1], acquire) == NULL) { in thread_gate_chain_work()
2457 if (self == os_atomic_load(&info->head.threads[0], acquire)) { in thread_gate_chain_work()
2504 while (os_atomic_load(&info->head.threads[info->head.nthreads - 1], acquire) == NULL) { in thread_sleep_chain_work()
2510 if (self == os_atomic_load(&info->head.threads[0], acquire)) { in thread_sleep_chain_work()