Lines Matching refs:tg1
889 void run_deep_stealing(tbb::task_group& tg1, tbb::task_group& tg2, int num_tasks, std::atomic<int>&… in run_deep_stealing() argument
891 tg2.run([&tg1, &tasks_executed] { in run_deep_stealing()
894 tg1.wait(); in run_deep_stealing()
909 tbb::task_group tg1; variable
912 tg1.run_and_wait([&tg1, &tg2, &tasks_executed] { in __anoneb262a490702()
913 run_deep_stealing(tg1, tg2, 10000, tasks_executed); in __anoneb262a490702()
933 tbb::task_group tg1; in __anoneb262a490802() local
939 tg1.run_and_wait([&tg1, &tg2, &tasks_executed, &second_thread_executed] { in __anoneb262a490802()
940 run_deep_stealing(tg1, tg2, 10000, tasks_executed); in __anoneb262a490802()
952 tg1.run_and_wait([&a2, &tg1, &tg2, &tasks_executed, second_thread_executed] { in __anoneb262a490802()
953 run_deep_stealing(tg1, tg2, second_thread_executed - 1, tasks_executed); in __anoneb262a490802()
958 tg2.run([&a2, &tg1, &tasks_executed] { in __anoneb262a490802()
959 a2.execute([&tg1, &tasks_executed] { in __anoneb262a490802()
962 tg1.wait(); in __anoneb262a490802()
970 a2.execute([&tg1, &tg2, &tasks_executed] { in __anoneb262a490802()
971 run_deep_stealing(tg1, tg2, 10000, tasks_executed); in __anoneb262a490802()
1185 tbb::task_group tg1; in should_fail() local
1187 …CHECK_THROWS_WITH_AS(tg1.run(tg.defer([]{})), "Attempt to schedule task_handle into different task… in should_fail()
1200 tbb::task_group tg1(ctx); in should_fail() local
1203 …CHECK_THROWS_WITH_AS(tg1.run(tg.defer([]{})), "Attempt to schedule task_handle into different task… in should_fail()