Home
last modified time | relevance | path

Searched refs:defer (Results 1 – 7 of 7) sorted by relevance

/oneTBB/test/conformance/
H A Dconformance_task_group.cpp41 auto h = tg.defer([&]{ in __anon0c2008c70102()
58 h = tg.defer([&]{ in __anon0c2008c70202()
79 h = tg.defer([&]{ in __anon0c2008c70302()
99 h = tg.defer([]{}); in __anon0c2008c70402()
116 h = tg.defer([]{}); in __anon0c2008c70502()
148 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon0c2008c70602()
180 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon0c2008c70a02()
H A Dconformance_task_arena.cpp139 auto task_handle = tg.defer([&]{ run = true; }); in __anon3e0b77410602()
158 auto task_handle = tg.defer([&]{ run = true; }); in __anon3e0b77410702()
182 auto task_handle = tg.defer([]{}); in __anon3e0b77410902()
204 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon3e0b77410c02()
221 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon3e0b77410d02()
/oneTBB/test/tbb/
H A Dtest_task_group.cpp455 g.run(g.defer(ThrowingTask(count))); in LaunchChildrenWithFunctor()
491 auto h = tg.defer(&LaunchChildrenWithFunctor<task_group_type>); in TestManualCancellationWithFunctor()
1139 return tg.defer([&]{ in __anoneb262a491c02()
1155 return tg.defer([&]{ in __anoneb262a491e02()
1187 …CHECK_THROWS_WITH_AS(tg1.run(tg.defer([]{})), "Attempt to schedule task_handle into different task… in should_fail()
1202 CHECK_NOTHROW(tg.run(tg.defer([]{}))); in should_fail()
1203 …CHECK_THROWS_WITH_AS(tg1.run(tg.defer([]{})), "Attempt to schedule task_handle into different task… in should_fail()
/oneTBB/doc/main/reference/
H A Dtask_group_extensions.rst42 task_handle defer(F&& f);
61 .. cpp:function:: template<typename F> task_handle defer(F&& f)
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_API.rst381 return tg.defer(OtherTask{});
387 Here ``oneapi::tbb::task_group::defer`` adds a new task into the ``tg``. However, the task is not p…
434 auto cb = tg.defer(CallBackTask{/*params*/});
448 Here ``oneapi::tbb::task_group::defer`` adds a new task into the ``tg``. However, the task is not s…
/oneTBB/examples/migration/recursive_fibonacci/
H A Dtask_emulation_layer.h178 …root_task(tbb::task_group& tg) : m_tg(tg), m_callback(m_tg.defer([] { /* Create empty callback to … in root_task()
/oneTBB/include/oneapi/tbb/
H A Dtask_group.h616 d2::task_handle defer(F&& f) { in defer() function