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.
You could always emulate epoll with select or poll. :)
I will check out the libaio bindings. thx.