tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
640 stars 115 forks source link

lio_listio support #302

Closed asomers closed 3 years ago

asomers commented 6 years ago

This adds support for lio_listio(2), a way of submitting multiple aio_read(2), aio_write(2), and/or aio_fsync(2) operations in a single system call. Higher level support will be provided by the tokio-file crate.

carllerche commented 6 years ago

Thanks,

Could this be done on the tokio repo? I will be updating tokio-core to use that crate internally shortly.

asomers commented 6 years ago

What's the difference between tokio and tokio-core? Is the latter being split up into multiple smaller crates or something?

carllerche commented 6 years ago

tokio-core is essentially deprecated.

carllerche commented 6 years ago

I added a deprecation notice to the README: https://github.com/tokio-rs/tokio-core/commit/f765c8f59760b8e899c81a649f5d70f9f7c50f6e

asomers commented 3 years ago

Merged into tokio instead of tokio-core .