tasks_cpp_start_task-snippet.h 201 Bytes
Newer Older
Michael Schmid committed
1 2 3 4 5 6 7 8 9
  int result;
  embb::tasks::Task task = node.Spawn(
    embb::base::Bind(
      embb::base::MakeFunction(fibonacciActionFunction),
      n,
      &result,
      embb::base::Placeholder::_1
    )
  );