Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp618 static kmp_uint32 __kmp_bakery_check(void *now_serving, kmp_uint32 my_ticket) { in __kmp_bakery_check() argument
620 std::memory_order_acquire) == my_ticket; in __kmp_bakery_check()
626 kmp_uint32 my_ticket = std::atomic_fetch_add_explicit( in __kmp_acquire_ticket_lock_timed_template() local
631 std::memory_order_relaxed) != my_ticket) in __kmp_acquire_ticket_lock_timed_template()
637 std::memory_order_acquire) == my_ticket) { in __kmp_acquire_ticket_lock_timed_template()
640 KMP_WAIT_PTR(&lck->lk.now_serving, my_ticket, __kmp_bakery_check, lck); in __kmp_acquire_ticket_lock_timed_template()
675 kmp_uint32 my_ticket = std::atomic_load_explicit(&lck->lk.next_ticket, in __kmp_test_ticket_lock() local
679 std::memory_order_relaxed) == my_ticket) { in __kmp_test_ticket_lock()
680 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock()
682 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()