Skip to content

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

Open
@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions