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

feat(driver,runtime): wake up proactor from other threads #149

Merged
merged 6 commits into from
Nov 18, 2023

Conversation

Berrysoft
Copy link
Member

Closes #144

See also: #108

The waker of compio could be waked in other threads. They will push the task into the queue safely and wake up the proactor.

@Berrysoft Berrysoft added bug Something isn't working driver: IOCP About the IOCP driver labels Nov 17, 2023
@Berrysoft Berrysoft self-assigned this Nov 17, 2023
@Berrysoft Berrysoft added driver: io-uring About the io-uring driver driver: polling About the polling driver package: driver Related to compio-driver package: runtime Related to compio-runtime labels Nov 17, 2023
Copy link
Member

@George-Miao George-Miao left a comment

Choose a reason for hiding this comment

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

LGTM

@George-Miao George-Miao merged commit 35c0c16 into compio-rs:master Nov 18, 2023
11 checks passed
@Berrysoft Berrysoft deleted the fix/waker branch November 18, 2023 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working driver: io-uring About the io-uring driver driver: IOCP About the IOCP driver driver: polling About the polling driver package: driver Related to compio-driver package: runtime Related to compio-runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Waker won't wake up Proactor
2 participants