Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[try_put_and_wait] Part 2: Add implementation of try_put_and_wait feature for buffering nodes #1412
[try_put_and_wait] Part 2: Add implementation of try_put_and_wait feature for buffering nodes #1412
Changes from 42 commits
19a86e2
dbe50f7
660646e
531da5b
f97c794
7afdd9d
da15916
92bf552
2bb5948
73eb513
f92503a
6d82b64
bc01522
6d6c145
4e05f31
842381c
2c011ed
67226f3
708d655
ed5d05b
811b9b9
703104a
f6f7673
e08d81f
4029091
5d66123
2033045
967aa53
c77e9c5
5aa2e34
0fd4b26
fc1239f
0321596
3691466
eeffec0
0b2b098
03c9391
ac27bb1
a23dc02
a82c649
6787ae5
078f3ad
fab7913
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Do we need this comment?
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.
Yes, since there is still no move semantics for stored value, only for the stored metainfo. It should be part of future flow graph enhancement.
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.
When __TBB_PREVIEW_FLOW_GRAPH_TRY_PUT_AND_WAIT is defined, is the other overload of this function ever called? I could only find one use in flow_graph.h and it used the _ARG macro. I suppose you could have #if - #else if that's true. Seems like you only need one function or the other, never both.