Home
last modified time | relevance | path

Searched refs:tas_free (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_csupport.cpp969 kmp_int32 tas_free = KMP_LOCK_FREE(tas); \
971 if (KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
972 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)) { \
986 KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
987 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)); \
996 kmp_int32 tas_free = KMP_LOCK_FREE(tas); \
998 rc = KMP_ATOMIC_LD_RLX(&l->lk.poll) == tas_free && \
999 __kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy); \
Dkmp_lock.cpp91 kmp_int32 tas_free = KMP_LOCK_FREE(tas); in __kmp_acquire_tas_lock_timed_template() local
94 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_acquire_tas_lock_timed_template()
95 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { in __kmp_acquire_tas_lock_timed_template()
107 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free || in __kmp_acquire_tas_lock_timed_template()
108 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)); in __kmp_acquire_tas_lock_timed_template()
133 kmp_int32 tas_free = KMP_LOCK_FREE(tas); in __kmp_test_tas_lock() local
135 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && in __kmp_test_tas_lock()
136 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { in __kmp_test_tas_lock()