Home
last modified time | relevance | path

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

/oneTBB/include/oneapi/tbb/detail/
H A D_concurrent_queue_base.h35 using ticket_type = std::size_t; variable
263 void invalidate_page( ticket_type k ) { in invalidate_page()
340 …void spin_wait_until_my_turn( std::atomic<ticket_type>& counter, ticket_type k, queue_rep_type& rb… in spin_wait_until_my_turn()
352 std::atomic<ticket_type> head_counter{};
355 std::atomic<ticket_type> tail_counter{};
395 ticket_type my_ticket_type;
488 static size_type index( ticket_type k ) { in index()
492 micro_queue_type& choose( ticket_type k ) { in choose()
499 alignas(max_nfs_size) std::atomic<ticket_type> head_counter{}; in alignas()
500 alignas(max_nfs_size) std::atomic<ticket_type> tail_counter{}; in alignas()
[all …]
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_queue.h32 std::pair<bool, ticket_type> internal_try_pop_impl(void* dst, QueueRep& queue, Allocator& alloc ) { in internal_try_pop_impl()
33 ticket_type ticket{}; in internal_try_pop_impl()
245 ticket_type k = my_queue_representation->tail_counter++; in internal_push()
559 ticket_type ticket = my_queue_representation->tail_counter++; in internal_push()
585 ticket_type ticket = my_queue_representation->tail_counter.load(std::memory_order_relaxed); in internal_push_if_not_full()
630 ticket_type ticket{}; in internal_pop_if_present()