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

fix: re-registering interest on Windows (#274) #320

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EliseZeroTwo
Copy link

This PR fixes #274 by re-registering interest, allowing sockets to wake up the task again when ready.

Given monoio is thread-per-core, the code here is sub-optimal as it uses an Arc and locking primitives where it's not needed, this was done to keep the code similar to the rest of the IOCP related code. Eventually I plan to clean up the Windows legacy driver when I have free time, if it is not already cleaned up by someone else.

@CLAassistant
Copy link

CLAassistant commented Nov 5, 2024

CLA assistant check
All committers have signed the CLA.

@JinWeiTan
Copy link
Contributor

Seems like the tests are failing due to cargo fmt

@EliseZeroTwo EliseZeroTwo force-pushed the elisezerotwo/fix-windows branch from c30db89 to ae51327 Compare December 2, 2024 09:26
@EliseZeroTwo
Copy link
Author

Seems like the tests are failing due to cargo fmt

This should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows sockets not waking in certain conditions
3 participants