chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.81k stars 1.2k forks source link

Feature request : libaio backend #1290

Open pfeatherstone opened 1 year ago

pfeatherstone commented 1 year ago

I've noticed that the linux kernel provides asynchronous I/O natively. The API is provided by libaio. it looks like there is overlapping functionality with ASIO. Maybe this could be realized with a new execution context.

pfeatherstone commented 1 year ago

It looks like you would be using some kind of thread pool inside the kernel. That's awesome

qicosmos commented 1 year ago

@pfeatherstone you can look at this repo(https://github.com/purecpp-org/asio-libaio), i will maintain it for libaio. I think many old linux system need libaio to do async file io, would you like to support libaio? @chriskohlhoff