Home
last modified time | relevance | path

Searched refs:next_ticket (Results 1 – 25 of 45) sorted by relevance

12

/dports/net/mpich/mpich-3.4.3/modules/izem/src/lock/
H A Dzm_ticket.c10 zm_atomic_store(&lock->next_ticket, 0, zm_memord_release); in zm_ticket_init()
18 unsigned my_ticket = zm_atomic_fetch_add(&lock->next_ticket, 1, zm_memord_acq_rel); in zm_ticket_acquire()
26 unsigned my_ticket = zm_atomic_load(&lock->next_ticket, zm_memord_acquire); in zm_ticket_tryacq()
29 if(zm_atomic_compare_exchange_strong(&lock->next_ticket, in zm_ticket_tryacq()
47 return (zm_atomic_load(&lock->next_ticket, zm_memord_acquire) - in zm_ticket_nowaiters()
/dports/net/oha/oha-0.4.7/cargo-crates/spin-0.9.2/src/mutex/
H A Dticket.rs73 next_ticket: AtomicUsize, field
110 next_ticket: AtomicUsize::new(0), in new()
183 let ticket = self.next_ticket.fetch_add(1, Ordering::Relaxed); in lock()
212 let ticket = self.next_ticket.load(Ordering::Relaxed); in is_locked()
245 .next_ticket in try_lock()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2362 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2400 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2402 next_ticket)) { in __kmp_test_drdpa_lock()
2481 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/openmp/runtime/src/
H A Dkmp_lock.cpp673 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
675 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
749 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
768 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1513 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1527 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2337 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2374 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2376 next_ticket)) { in __kmp_test_drdpa_lock()
2454 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/llvm10/llvm-10.0.1.src/projects/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1526 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1540 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2359 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2397 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2399 next_ticket)) { in __kmp_test_drdpa_lock()
2478 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/llvm12/llvm-project-12.0.1.src/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2354 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2392 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2394 next_ticket)) { in __kmp_test_drdpa_lock()
2473 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/llvm11/llvm-11.0.1.src/projects/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2363 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2401 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2403 next_ticket)) { in __kmp_test_drdpa_lock()
2482 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2354 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2392 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2394 next_ticket)) { in __kmp_test_drdpa_lock()
2473 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/openmp/runtime/src/
H A Dkmp_lock.cpp673 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
675 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
749 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
768 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1512 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1526 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2336 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2373 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2375 next_ticket)) { in __kmp_test_drdpa_lock()
2453 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
H A Dkmp_lock.h234 next_ticket; // ticket number to give to next thread which acquires member
247 next_ticket; // ticket number to give to next thread which acquires member
371 next_ticket; // ticket number to give to next thread which acquires member
458 std::atomic<kmp_uint64> next_ticket; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2363 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2401 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2403 next_ticket)) { in __kmp_test_drdpa_lock()
2482 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1526 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1540 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2359 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2397 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2399 next_ticket)) { in __kmp_test_drdpa_lock()
2478 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/openmp/runtime/src/
H A Dkmp_lock.cpp673 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
675 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
749 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
768 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1512 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1526 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2336 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2373 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2375 next_ticket)) { in __kmp_test_drdpa_lock()
2453 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/projects/openmp/runtime/src/
H A Dkmp_lock.cpp682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1526 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1540 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2359 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2397 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2399 next_ticket)) { in __kmp_test_drdpa_lock()
2478 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/projects/openmp/runtime/src/
H A Dkmp_lock.cpp696 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
698 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
773 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
792 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1541 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1555 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2383 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2421 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2423 next_ticket)) { in __kmp_test_drdpa_lock()
2502 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/openmp/runtime/src/
H A Dkmp_lock.cpp673 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
675 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
749 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
768 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1512 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1526 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2336 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2373 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2375 next_ticket)) { in __kmp_test_drdpa_lock()
2453 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
[all …]
/dports/net/rtpproxy/rtpproxy-2.1.1/src/
H A Drtpp_log_stand.c55 atomic_uint next_ticket; member
222 my_ticket = atomic_fetch_add_explicit(&(_log_lock.next_ticket), 1, in _rtpp_log_lock()
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/src/
H A Dcommon.h251 ordered_lock() : next_ticket(0), counter(0) {} in ordered_lock()
254 unsigned int ticket = next_ticket++; in lock()
266 unsigned int next_ticket, counter; variable
/dports/net/mpich/mpich-3.4.3/modules/izem/src/include/lock/
H A Dzm_lock_types.h.in24 zm_atomic_uint_t next_ticket; member

12