-
Notifications
You must be signed in to change notification settings - Fork 409
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
Pipeline: use notify
instead of polling
for SharedQueue
#8875
Conversation
Co-authored-by: Liqi Geng <gengliqiii@gmail.com>
/hold |
wait for #8872 |
notify
instead of polling
for SharedQueue
notify
instead of polling
for SharedQueue
/cc @gengliqi |
return element.data; | ||
} | ||
|
||
template <typename U> | ||
ALWAYS_INLINE void pushFront(U && data) | ||
ALWAYS_INLINE bool pushFront(U && data) |
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.
How about adding comments about the return value?
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.
Has added comment If returns true, then notify writers afterward; if false, no need to notify writers.
.
/hold |
/cc @windtalker |
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
[LGTM Timeline notifier]Timeline:
|
/merge |
/unhold |
/approve |
@SeaRise: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gengliqi, SeaRise, windtalker The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test all |
/test pull-unit-test |
What problem does this PR solve?
Issue Number: ref #8869
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note