oneAPI-spec icon indicating copy to clipboard operation
oneAPI-spec copied to clipboard

[TBB] task_group does not specify lifetime of passed in function [object]

Open anton-potapov opened this issue 3 years ago • 0 comments

Spec should specify:

  1. when the function F passed into run/run_and_wait and defer is destroyed.
  2. destroyed properly , i.e. it 's destructor is called
  3. How does this relates to returning from task_group::wait

anton-potapov avatar Oct 20 '21 15:10 anton-potapov