Skip to content
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

External Execution Interface #4616

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

External Execution Interface #4616

wants to merge 8 commits into from

Conversation

nibanks
Copy link
Member

@nibanks nibanks commented Oct 16, 2024

Description

Closes #1923.

Provides an interface for the application layer to completely control execution of all MsQuic work. In other words, MsQuic would create no threads internally.

Testing

TODO

Documentation

TODO

@nibanks nibanks added Area: Performance Area: API Area: Core Related to the shared, core protocol logic labels Oct 16, 2024
src/inc/msquic.h Outdated Show resolved Hide resolved
@nibanks nibanks changed the title Initial External Execution Interface External Execution Interface Oct 16, 2024
src/inc/msquic.h Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.71%. Comparing base (c8d66e8) to head (adb9ad9).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4616      +/-   ##
==========================================
- Coverage   86.98%   86.71%   -0.28%     
==========================================
  Files          56       56              
  Lines       17354    17354              
==========================================
- Hits        15096    15049      -47     
- Misses       2258     2305      +47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ULONG OverlappedCount = 0;
if (GetQueuedCompletionStatusEx(IOCP, Overlapped, ARRAYSIZE(Overlapped), &OverlappedCount, WaitTime, FALSE)) {
for (ULONG i = 0; i < OverlappedCount; ++i) {
QUIC_CQE* Cqe = CONTAINING_RECORD(Overlapped[i].lpOverlapped, QUIC_CQE, Overlapped);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is anything creating QUIC_CQEs in this sample program?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not yet. I will add one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: API Area: Core Related to the shared, core protocol logic Area: Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow using an app-provided thread
2 participants