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

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

prevs to the next task. It’s like calling add_dependency() multiple times.
Parameters
  • prevs: The list of tasks that next is dependent on

  • next: The task that depends on all the prevs tasks

The next tasks will not start until all the tasks from the prevs list are complete.

See

chained_task, add_dependency()