reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_lock.cpp
  735   if (!std::atomic_load_explicit(&lck->lk.initialized,
  739   if (lck->lk.self != lck) {
  739   if (lck->lk.self != lck) {
  742   if (__kmp_is_ticket_lock_nestable(lck)) {
  745   if (__kmp_get_ticket_lock_owner(lck) == -1) {
  748   if ((gtid >= 0) && (__kmp_get_ticket_lock_owner(lck) >= 0) &&
  749       (__kmp_get_ticket_lock_owner(lck) != gtid)) {
  752   std::atomic_store_explicit(&lck->lk.owner_id, 0, std::memory_order_relaxed);
  753   return __kmp_release_ticket_lock(lck, gtid);