package nanoev
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=2ec6b951b88383b3849240f7cd27e322797fc596dc0b3fc53e9c61b78bab6570
sha512=1e4fe800638102cc5bdcd404d2069f65bc34f429d0b9063c14b0ffebc20e9dad3beff49741304d4b57d98d1895f65ed903f4b11d224505d038fa2afb012d7d4f
Description
README
nanoev
A minimalistic but modular abstraction for IO event loops.
The goal of this library is to provide a uniform abstraction over multiple system event loops, in a way that plays well with Picos.
Usage
Very basic usage would look like this:
module EV = Nanoev_picos
let () =
(* use a backend, eg. select *)
let ev = Nanoev_unix.create () in
(* install the backend *)
Nanoev_picos.setup_bg_thread ev;
(* setup a picos scheduler and use EV.read, EV.write, etc. *)
…Backends
- select
- poll/ppoll
- epoll
- kqueue
- uring
Dev Dependencies (1)
-
odoc
with-doc
Used by (3)
Conflicts
None
Build status
Results of building nanoev with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. 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.1 (this version) | n/a | 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