-
Notifications
You must be signed in to change notification settings - Fork 226
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
Dev windows support part2 #243
Dev windows support part2 #243
Conversation
98d89f1
to
b124657
Compare
22be20a
to
4a4a2c4
Compare
monoio/src/driver/legacy/mod.rs
Outdated
#[cfg(windows)] | ||
poll: iocp::Poller, | ||
poll: Poller, |
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.
I have 2 questions:
- Which way do you want to iocp? It can be used as epoll to just get notified if the fd is ready, it can also be used like iouring to let it do io directly.
- If it is designed to work as a readiness poller, can we use
mio::Poll
instead of brings a new poller impl?
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.
- Which way do you want to iocp? It can be used as epoll to just get notified if the fd is ready, it can also be used like iouring to let it do io directly.
Just epoll.
- If it is designed to work as a readiness poller, can we use
mio::Poll
instead of brings a new poller impl?
No, cause #166 (comment)
0b98ba3
to
52ff11b
Compare
52ff11b
to
f1182e6
Compare
27bbfd3
to
f1182e6
Compare
It seems that due to caching, windows CI is unstable, see https://github.com/loongs-zhang/monoio/actions/runs/8005626446/job/21865508898 |
This PR mainly uses polling as the
LegacyDriver
, as you can see, it can be successfully compiled and run a small number of tests.Plan to pass really all windows CI in the next PR.