Function concore::v1::add_dependencies(std::initializer_list<chained_task>, chained_task)¶
Defined in File task_graph.hpp
Function Documentation¶
-
void
concore::v1::add_dependencies(std::initializer_list<chained_task> prevs, chained_task next)¶ Add a dependency from list of tasks to a tasks.
This creates dependencies between all the tasks from
prevsto thenexttask. It’s like calling add_dependency() multiple times.- Parameters
prevs: The list of tasks thatnextis dependent onnext: The task that depends on all theprevstasks
The
nexttasks will not start until all the tasks from theprevslist are complete.