package polly
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=76d36170f704c18c51dd5d567ad8dff06d1c5018908a89c49631ccf3249a576f
md5=6b24e3d681fd5a94bbe4b3d2ed3796c3
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
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 pollyMost recently version 0.4.1 was submitted to Opam.
Using inside utop
make utopordune 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.
Dependencies (5)
- conf-linux-libc-dev
- base-unix
-
cmdliner
>= "1.1.0" -
ocaml
>= "4.08.0" -
dune
>= "3.20"
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Used by (1)
Conflicts
None
Build status
Results of building polly with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. 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.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.5.0 (this version) | 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