Function concore::v1::add_dependencies(chained_task, std::initializer_list<chained_task>)¶
Defined in File task_graph.hpp
Function Documentation¶
-
void
concore::v1::add_dependencies(chained_task prev, std::initializer_list<chained_task> nexts)¶ Add a dependency from a task to a list of tasks.
This creates dependencies between
prevand all the tasks innexts. It’s like calling add_dependency() multiple times.- Parameters
prev: The task dependent onnexts: A set of tasks that all depend onprev
All the tasks in the
nextslists will not be started untilprevis completed.