package polly

  1. Overview
  2. Docs
Bindings for the Linux epoll system call

Install

Dune Dependency

Authors

Maintainers

Sources

polly-0.4.1.tbz
sha256=d96859f459fc9c072600e0446593959ff34bb82efc38f00b3d14c464ced10ad6
sha512=76ebec8f3581f8223d50094cbf592c66bbc8f3c7e97a027e10327e0813ca6ecdc041fd93b8a0e80aa4c6d391e43a806d37031f26d04716b26ebad72905debc7e

Description

Bindings for the Linux epoll system call. The binding avoids most allocation in the event loop by iterating over all file descriptors that are reported as ready.

Published: 06 Aug 2023

README

README.md

[]

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

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.

Contributors

  • https://github.com/edwintorok/

  • https://github.com/craff/

Dependencies (5)

  1. conf-linux-libc-dev
  2. base-unix
  3. cmdliner >= "1.1.0"
  4. ocaml >= "4.08.0"
  5. dune >= "2.0"

Dev Dependencies

None

Used by

None

Conflicts

None