-
Notifications
You must be signed in to change notification settings - Fork 634
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
Immediate executor #2672
Immediate executor #2672
Conversation
|
Note: |
84fe9fa
to
36ba900
Compare
|
36ba900
to
8a34b05
Compare
Specific tests are still needed. boost.async supports it, so that might be a useful first test. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2672 +/- ##
===========================================
- Coverage 92.97% 92.92% -0.05%
===========================================
Files 177 178 +1
Lines 13658 13697 +39
===========================================
+ Hits 12698 12728 +30
- Misses 960 969 +9
Continue to review full report in Codecov by Sentry.
|
@ashtum Can you review this? |
return net::get_associated_immediate_executor( | ||
h_, wg1_.get_executor()); |
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.
NIT: formatting
return net::get_associated_immediate_executor( | |
h_, wg1_.get_executor()); | |
return net::get_associated_immediate_executor( | |
h_, wg1_.get_executor()); |
const auto ex = this->get_immediate_executor(); | ||
net::dispatch(ex, std::move(*this)); |
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.
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); | |
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); |
const auto ex = this->get_immediate_executor(); | ||
net::dispatch(ex, std::move(*this)); |
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.
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); | |
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); |
const auto ex = this->get_immediate_executor(); | ||
net::dispatch(ex, std::move(*this)); |
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.
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); | |
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); |
const auto ex = this->get_immediate_executor(); | ||
net::dispatch(ex, std::move(*this)); |
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.
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); | |
const auto ex = this->get_immediate_executor(); | |
net::dispatch(ex, std::move(*this)); |
The changes in the code appear to be consistent and well-structured. Updates made to the function comments, which generate documentation, are appropriate and coherent. There don't seem to be significant changes to the API, with the exception of async_base::get_immediate_executor(). Given this minor adjustment, the tests appear to remain effective and relevant. Codecov has identified several newly added lines of code that aren’t covered by tests. While I’m not entirely certain, these seem to be false positives. It would be beneficial to review and confirm these findings, either by adding the necessary tests or silencing irrelevant warnings. For example:
The PR lacks a description. I recommend adding a brief description to assist both current reviewers and anyone looking at this PR in the future. This description should include the rationale behind the proposed changes (even if it seems obvious), and whether the changes resolve or address any specific issues or problems. In summary, this PR appears to be mostly well-structured and presented. The most crucial step at this point would be to address the areas identified by Codecov and to enhance the PR description to provide clear context and complete understanding to reviewers and future observers. Good job 🚀 |
0e00c4e
to
c65d0d1
Compare
689f63e
to
9e2e027
Compare
9e2e027
to
de158cf
Compare
No description provided.