compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

feat(net): add PollFd to wait for readiness #265

Closed Berrysoft closed 4 months ago

Berrysoft commented 4 months ago

Maybe useful for cyper developing:)

Berrysoft commented 4 months ago

I think it's a interesting feature, but do we really need ready-based async?

The API here is still not compatible with tokio's. It just makes cancellation safer (maybe?)