package poll

  1. Overview
  2. Docs
Portable OCaml interface to macOS/Linux/Windows native IO event notification mechanisms

Install

dune-project
 Dependency

Authors

Maintainers

Sources

poll-0.3.1.tbz
sha256=217e928af2bf20c41a1a03205a222c3605123073facf513f4d20749a2690f29c
sha512=5c47ac2cb4fb52c116a190b323c4e537c8cc1d4d4689653fc1a863cfb19e215468c8c2d93180402fccf83a5e23def540f1f52f2975b7e391155afa593ae5e127

Description

poll provides a portable OCaml interface to IO event notification mechanisms on macOS, Linux and Windows. It uses kqueue on macOS, epoll on Linux, and uses a vendored copy of wepoll on Windows.

Tags

epoll kqueue wepoll

Published: 03 Jul 2023

README

Poll

Portable OCaml library to poll for I/O readiness events. All I/O events are oneshot, and on delivery of an I/O readiness event we need to re-register interest in the event if we need a notification of the next event of the same kind.

This library currently supports the following platforms:

Dependencies (6)

  1. ocaml >= "4.13"
  2. dune-configurator
  3. kqueue >= "0.2.0" & < "0.5.0"
  4. ppx_optcomp
  5. base-unix
  6. dune >= "2.9"

Dev Dependencies (2)

  1. odoc with-doc
  2. ppx_expect with-test

Used by (2)

  1. riot = "0.0.7"
  2. spatial-shell

Conflicts (1)

  1. ppxlib < "0.14.0"