AIO integration

Paul Colomiets pc at
Wed Apr 30 23:20:36 CEST 2008


I'm looking for integration of libev with
asynchronous io for files. It should be
integrated quite naturally, using
real-time signals for linux and other
posix compatible OSes, and probably
kqueue for freebsd, and whatever
for windows :)

Does anybody tryed to implement

I think interface should look like:

ev::fileio io;
io.set(fd, ev::READ)
io.start(buf, buflen)

Probably operations can be collected
for a single loop iteration and started
with lio_listio if more than one.

If no implementation is available, is
anybody interested in this kind
of patch for libev? Or would it
be better as a separate library?

Any thoughts are welcome.


More information about the libev mailing list