Function concore::v1::add_dependencies(chained_task, std::initializer_list<chained_task>)

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

prev and all the tasks in nexts. It’s like calling add_dependency() multiple times.
Parameters
  • prev: The task dependent on

  • nexts: A set of tasks that all depend on prev

All the tasks in the nexts lists will not be started until prev is completed.

See

chained_task, add_dependency()