lindig / polly

OCaml bindings for Linux epoll(2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Polly

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.

Installation

As of version 0.2.2, Polly is now in Opam and can be installed from there:

opam install polly

Most recently version 0.4.1 was submitted to Opam.

Using inside utop

  • make utop or
  • dune utop

launches a utop toplevel that has the library loaded for interactive use.

Other Epoll Bindings

Contribute

If you find this useful, please contribute back by raising pull requests for improvements you made.

About

OCaml bindings for Linux epoll(2)

License:MIT License


Languages

Language:OCaml 66.0%Language:C 29.5%Language:Makefile 4.5%