Plasma GitLab Archive
Projects Blog Knowledge

Module Uq_libevent


module Uq_libevent: sig .. end
Use Libevent as event loop


This gives (experimental) support for using libevent as event loop. To do so, you also need Maas-Maarten Zeeman's bindings for libevent, ocaml-event. (N.B. The current name, changed several times, is now liboevent.)

Restrictions:

  • ocaml-event is not thread-safe
  • There can only be one instance of the event loop at a time
  • It is not supported to wait for out of band data
  • Signals do not stop the event loop. As a consequence, signals are delayed until the next event occurs.

module type LIBOEVENT = sig .. end
module type POLLSET = sig .. end
module Make: 
functor (L : LIBOEVENT) -> POLLSET
Instantiate this module.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml