Skip to content

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

@anton-potapov

Description

@anton-potapov

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions