Home
last modified time | relevance | path

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

/oneTBB/test/conformance/
H A Dconformance_concurrent_priority_queue.cpp347 q1.try_pop(ob); in test_move_support_in_push_pop()
357 q2.try_pop(o); in test_move_support_in_push_pop()
359 q2.try_pop(o); in test_move_support_in_push_pop()
361 q2.try_pop(o); in test_move_support_in_push_pop()
363 REQUIRE_MESSAGE(!q2.try_pop(o), "The queue should be empty"); in test_move_support_in_push_pop()
370 q3.try_pop(obj); in test_move_support_in_push_pop()
374 REQUIRE_MESSAGE(!q3.try_pop(obj), "The queue should be empty"); in test_move_support_in_push_pop()
485 qo.try_pop(e); in test_assignment_clear_swap()
492 qo.try_pop(e); in test_assignment_clear_swap()
519 REQUIRE_MESSAGE(q.try_pop(e), "Failed pop test"); in test_serial_push_pop()
[all …]
H A Dconformance_concurrent_queue.cpp77 bool try_pop( T& dest ) { in try_pop() function in ConcQWithCapacity
78 base_type::try_pop( dest); in try_pop()
472 src_queue.try_pop(tmp_bar); in TestConstructors()
498 src_queue.try_pop(tmp_bar); in TestConstructors()
502 dst_queue5.try_pop(tmp_bar); in TestConstructors()
533 src_queue_ex.try_pop(tmp_bar_ex); in TestConstructors()
634 …bool try_pop( T& dest ) { return this->oneapi::tbb::concurrent_queue<T, test_allocator<T>>::try_po… in try_pop() function in ConcQPushPopWrapper
719 bool result = queue.try_pop(f); in TestPushPop()
1020 while (iq2.try_pop(e)) ; in TestAbort()
1064 while (iq4.try_pop(e)) ; in TestAbort()
[all …]
/oneTBB/test/common/
H A Dconcurrent_priority_queue_common.h37 while(cpq.try_pop(element)) { in toVector()
68 REQUIRE((q2.empty() && !q2.size() && !q2.try_pop(elem))); in examine()
71 for (it1 = vec_sorted.rbegin(); q1.try_pop(elem); ++it1) { in examine()
86 for (it1 = vec_sorted.rbegin(); q1.try_pop(elem); ++it1) in examine()
282 if (q->try_pop(last)) { in operator()
284 while(q->try_pop(elem)) { in operator()
308 q->try_pop(elem); in operator()
/oneTBB/examples/test_all/fibonacci/
H A Dfibonacci.cpp129 while (!Q.try_pop(A)) in SerialQueueFib()
133 while (!Q.try_pop(B)) in SerialQueueFib()
296 while (!queue->try_pop(m1)) in operator ()()
298 while (!queue->try_pop(m2)) in operator ()()
319 bool result = Queue.try_pop(M); // get last element in ParallelPipeFib()
/oneTBB/doc/main/tbb_userguide/
H A DConcurrent_Queue_Classes.rst11 ``try_pop``. The ``push`` operation works just like ``push`` for a
12 std::queue. The operation ``try_pop`` pops an item if it is available.
47 if( MyQueue.try_pop(item) ) {
/oneTBB/test/tbb/
H A Dtest_concurrent_priority_queue.cpp167 REQUIRE_MESSAGE(pq.try_pop(elem), "Failed: pq is not functional"); in test_exceptions()
183 REQUIRE_MESSAGE(pq2.try_pop(elem), "Failed: pq is not functional"); in test_exceptions()
H A Dtest_concurrent_queue.cpp43 queue.try_pop(item); in operator ()()
97 bool b = q1.try_pop(tmp); in TestVectorTypes()
H A Dtest_concurrent_queue_whitebox.cpp54 bool res = q.try_pop(elem); in operator ()()
H A Dtest_async_node.cpp291 bool try_pop( T& item ) { in try_pop() function in async_activity_queue
362 if( is_active && my_work_queue.try_pop( work ) ) { in process()
685 while( my_q.try_pop(w) ) { in __anon62ab872d0a02()
H A Dtest_flow_graph_priorities.cpp220 bool try_pop(T& item) { in try_pop() function in ThreadsEagerReaction::concurrent_queue
269 while (activity->my_queue.try_pop(work)) { in operator ()()
/oneTBB/src/tbb/
H A Dtask_stream.h199 popped = try_pop(lane); in pop()
245 d1::task* try_pop( unsigned lane_idx ) { in try_pop() function
/oneTBB/doc/main/tbb_userguide/design_patterns/
H A DGUI_Thread.rst118 ResultQueue.try_pop(CurrentResult);
152 item from ResultQueue into CurrentResult. The ``try_pop`` always
H A DNon-Preemptive_Priorities.rst139 if( level[i].try_pop(item) )
H A DLocal_Serializer.rst206 queue.try_pop(item);
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_queue.h203 bool try_pop( T& result ) { in try_pop() function
502 bool try_pop( T& result ) { in try_pop() function
H A Dconcurrent_priority_queue.h199 bool try_pop( value_type& value ) { in try_pop() function
/oneTBB/examples/concurrent_priority_queue/shortpath/
H A Dshortpath.cpp124 while (open_set.try_pop(u_rec)) { in shortpath_helper()
/oneTBB/include/oneapi/tbb/detail/
H A D_flow_graph_impl.h183 bool result = my_priority_queue.try_pop(my_task); in next_task()