-
Notifications
You must be signed in to change notification settings - Fork 113
Improve interoperability of task arenas and task groups #624
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
Improve interoperability of task arenas and task groups #624
Conversation
…asks associated with a task group
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the copyright year in both files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me too.
The patch proposes additions to the class
task_arena
and the namespacethis_task_arena
to interoperate withtask_group
: new overloads forenqueue
which additionally take atask_group
argument, and the newwait_for
method that also takes atask_group
.Design details can be found in https://github.com/uxlfoundation/oneTBB/blob/master/rfcs/proposed/task_arena_waiting/task_group_interop.md