Home
last modified time | relevance | path

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

/oneTBB/include/oneapi/tbb/detail/
H A D_assert.h44 …ne __TBB_ASSERT_RELEASE(predicate,message) ((predicate)?((void)0) : rml::internal::assertion_failu… argument
46 …e __TBB_ASSERT_RELEASE(predicate,message) ((predicate)?((void)0) : tbb::detail::r1::assertion_fail… argument
54 #define __TBB_ASSERT(predicate,message) __TBB_ASSERT_RELEASE(predicate,message) argument
59 #define __TBB_ASSERT(predicate,comment) ((void)0) argument
61 #define __TBB_ASSERT_EX(predicate,comment) ((void)(1 && (predicate))) argument
/oneTBB/src/tbb/
H A Daddress_waiter.cpp69 void wait_on_address(void* address, d1::delegate_base& predicate, std::uintptr_t context) { in wait_on_address() argument
71 waiter.wait<address_waiter::thread_context>(predicate, address_context{address, context}); in wait_on_address()
77 auto predicate = [address, target_context] (address_context ctx) { in notify_by_address() local
81 waiter.notify_relaxed(predicate); in notify_by_address()
87 auto predicate = [address] (address_context ctx) { in notify_by_address_one() local
91 waiter.notify_one_relaxed(predicate); in notify_by_address_one()
97 auto predicate = [address] (address_context ctx) { in notify_by_address_all() local
101 waiter.notify_relaxed(predicate); in notify_by_address_all()
H A Dconcurrent_monitor.h349 void notify( const P& predicate ) { in notify() argument
351 notify_relaxed( predicate ); in notify()
357 void notify_relaxed( const P& predicate ) { in notify_relaxed() argument
371 if (predicate(node->my_context)) { in notify_relaxed()
392 void notify_one_relaxed( const P& predicate ) { in notify_one_relaxed() argument
406 if (predicate(node->my_context)) { in notify_one_relaxed()
463 bool guarded_call(Pred&& predicate, NodeType& node) { in guarded_call() argument
466 res = std::forward<Pred>(predicate)(); in guarded_call()
H A Dconcurrent_bounded_queue.cpp52 … std::ptrdiff_t target, d1::delegate_base& predicate ) in wait_bounded_queue_monitor() argument
57 …monitor.wait<concurrent_monitor::thread_context>([&] { return !predicate(); }, std::uintptr_t(targ… in wait_bounded_queue_monitor()
/oneTBB/doc/main/tbb_userguide/
H A DAdvanced_Topic_Other_Kinds_of_Iteration_Spaces.rst11 constructor, an optional proportional splitting constructor, and two predicate
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_queue.h312 … std::ptrdiff_t target, d1::delegate_base& predicate );