Home
last modified time | relevance | path

Searched refs:now_serving (Results 1 – 3 of 3) 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
619 return std::atomic_load_explicit((std::atomic<unsigned> *)now_serving, in __kmp_bakery_check()
630 if (std::atomic_load_explicit(&lck->lk.now_serving, in __kmp_acquire_ticket_lock_timed_template()
636 if (std::atomic_load_explicit(&lck->lk.now_serving, 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()
678 if (std::atomic_load_explicit(&lck->lk.now_serving, in __kmp_test_ticket_lock()
717 std::atomic_load_explicit(&lck->lk.now_serving, in __kmp_release_ticket_lock()
720 std::atomic_fetch_add_explicit(&lck->lk.now_serving, 1U, in __kmp_release_ticket_lock()
758 std::atomic_store_explicit(&lck->lk.now_serving, 0U, in __kmp_init_ticket_lock()
777 std::atomic_store_explicit(&lck->lk.now_serving, 0U, in __kmp_destroy_ticket_lock()
[all …]
H A Dkmp_lock.h243 std::atomic_uint now_serving; // ticket number for thread which holds the lock
257 now_serving; // ticket number for thread which holds the lock
377 now_serving; // ticket number for thread which holds the lock
464 // now_serving is used to store our ticket value while we hold the lock. It
469 // Since now_serving is only read and written in the critical section, member
477 kmp_uint64 now_serving; // doesn't have to be volatile
235 std::atomic_uint now_serving; // ticket number for thread which holds the lock global() member
249 now_serving; // ticket number for thread which holds the lock global() member
369 now_serving; // ticket number for thread which holds the lock global() member
H A Dkmp_debugger.cpp158 offset_and_size_of(kmp_base_queuing_lock_t, now_serving),