Lines Matching refs:h
41 auto h = tg.defer([&]{ in __anon0c2008c70102() variable
51 oneapi::tbb::task_handle h; variable
58 h = tg.defer([&]{ in __anon0c2008c70202()
62 tg.run(std::move(h));
66 CHECK_MESSAGE(h == nullptr, "Delayed task can be executed only once");
72 oneapi::tbb::task_handle h; variable
79 h = tg.defer([&]{ in __anon0c2008c70302()
83 tg.run_and_wait(std::move(h));
86 CHECK_MESSAGE(h == nullptr, "Delayed task can be executed only once");
94 oneapi::tbb::task_handle h; variable
96 bool empty = (h == nullptr);
99 h = tg.defer([]{}); in __anon0c2008c70402()
101 CHECK_MESSAGE(h != nullptr, "delayed task returned by task_group::delayed should not be empty");
109 oneapi::tbb::task_handle h; variable
111 bool empty = ! static_cast<bool>(h);
113 CHECK_MESSAGE(h == nullptr, "default constructed task_handle should be empty");
114 CHECK_MESSAGE(nullptr == h, "default constructed task_handle should be empty");
116 h = tg.defer([]{}); in __anon0c2008c70502()
118 … CHECK_MESSAGE(h != nullptr, "deferred task returned by task_group::defer() should not be empty");
119 … CHECK_MESSAGE(nullptr != h, "deferred task returned by task_group::defer() should not be empty");
148 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon0c2008c70602() variable
167 tg.run(std::move(h)); in __anon0c2008c70902()
180 oneapi::tbb::task_handle h = tg.defer([&]{ in __anon0c2008c70a02() variable
187 tg.run(std::move(h));