Polly is an OCaml binding for the Linux epoll system call:
- Small, simple, and self-contained
- Avoids most allocation in the event loop
- MIT licensed
Note that epoll is specific to Linux and that this library won't compile on macOS, for example.
This repository is a fork from https://github.com/lindig/polly, which up to version 0.4.1 is the source for the polly package in Opam.
make utopordune utop
launches a utop toplevel that has the library loaded for interactive use.
If you find this useful, please contribute back by raising pull requests for improvements you made.