-
Notifications
You must be signed in to change notification settings - Fork 542
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
Event Queue Completion Refactor #4732
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4732 +/- ##
==========================================
- Coverage 87.20% 86.58% -0.62%
==========================================
Files 56 56
Lines 17363 17378 +15
==========================================
- Hits 15141 15047 -94
- Misses 2222 2331 +109 ☔ View full report in Codecov by Sentry. |
@@ -959,6 +959,16 @@ CxPlatInternalEventWaitWithTimeout( | |||
#include <liburing.h> | |||
typedef struct io_uring CXPLAT_EVENTQ; | |||
typedef struct io_uring_cqe* CXPLAT_CQE; | |||
typedef | |||
_IRQL_requires_max_(PASSIVE_LEVEL) |
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.
This annotation is not needed for posix?
typedef | ||
void | ||
(CXPLAT_EVENT_COMPLETION)( | ||
_In_ CXPLAT_CQE* Cqe | ||
); | ||
typedef CXPLAT_EVENT_COMPLETION *CXPLAT_EVENT_COMPLETION_HANDLER; |
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.
These can be declared in quic_platform.h?
_posix.h and _winuser.h have same
void | ||
DataPathProcessCqe( |
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.
Nice🙆♂️
Description
Refactors the CxPlat event queue interface to have completions execute callback functions instead of call hardcoded functions with type value.
Testing
Existing CI/CD
Documentation
N/A - Internal (for now)