oneAPI-spec
oneAPI-spec copied to clipboard
[TBB] task_group does not specify lifetime of passed in function [object]
Spec should specify:
- when the function
F
passed intorun
/run_and_wait
anddefer
is destroyed. - destroyed properly , i.e. it 's destructor is called
- How does this relates to returning from
task_group::wait