package polly

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

Install

dune-project
 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.

Added to opam-repository:

README

[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

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

Optional Dependencies

None

Used by (1)

  1. simple_httpd

Conflicts

None

Build status

Results of building polly with each compiler on check.ci.ocaml.org, run of against opam-repository 6e2873f. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.5.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure