Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anton-potapov opened this issue Oct 20, 2021 · 0 comments
Assignees
Labels

Comments

@anton-potapov
Copy link
Contributor

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 anton-potapov self-assigned this Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant