Re: libaio bindings
Mike Furr <email@example.com> writes:
> Goswin von Brederlow wrote:
>> does anyone know of libaio bindings for ocaml?
> I wrote library for a bunch of different I/O bindings a couple of years
> ago that I never completely finished. It includes some rather low level
> bindings of aio which I believe are complete. I modified the build
> below to just build the aio stuff, although the poll, epoll, and
> non-blocking modules should work with some makefile hacking. (I was in
> the middle of switching to a new system, where it would replace the
> bindings with empty ones on the platforms where they aren't supported.
> If you just copy the *_real.ml to just *.ml, then they should work). I
> never got around to the /dev/poll bindings though.
I had a look at your code but it isn't what I asked for.
You wrote bindings for the Posix async I/O functions from glibc, which
uses threads to implement it, and not the Linux async I/O interface
that uses syscalls to use the kernels async I/O directly.
So back to the drawing board for me.