reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1533 KMP_RELEASE_TAS_LOCK(lck, global_tid); 2764 KMP_RELEASE_TAS_LOCK(user_lock, gtid);projects/openmp/runtime/src/kmp_lock.cpp
73 return KMP_LOCK_STRIP(KMP_ATOMIC_LD_RLX(&lck->lk.poll)) - 1; 94 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && 95 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { 107 } while (KMP_ATOMIC_LD_RLX(&lck->lk.poll) != tas_free || 108 !__kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)); 135 if (KMP_ATOMIC_LD_RLX(&lck->lk.poll) == tas_free && 136 __kmp_atomic_compare_store_acq(&lck->lk.poll, tas_free, tas_busy)) { 158 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas)); 184 lck->lk.poll = KMP_LOCK_FREE(tas); 187 void __kmp_destroy_tas_lock(kmp_tas_lock_t *lck) { lck->lk.poll = 0; }