package eio

  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

eio-1.2.tbz
sha256=3792e912bd8d494bb2e38f73081825e4d212b1970cf2c1f1b2966caa9fd6bc40
sha512=4a80dbcf8cf2663bdad0f2970871844f37bd293c56bd1ce602910e0a613754945f1f942719f9630906453be7c73c1732dc97526c6c90b0b36100d04fd5e871e4

doc/eio/Eio/Private/index.html

Module Eio.PrivateSource

API for use by the scheduler implementation.

Sourcemodule Trace : sig ... end

Trace Eio events using OCaml's runtime events system.

Sourcemodule Cells : sig ... end

A lock-free queue-like structure with suspension and cancellation.

Sourcemodule Broadcast : sig ... end

A lock-free queue of waiters that should all be resumed at once.

Sourcemodule Single_waiter : sig ... end

Allows a single fiber to wait to be notified by another fiber in the same domain. If multiple fibers need to wait at once, or the notification comes from another domain, this can't be used.

Sourcemodule Fiber_context : sig ... end

Every fiber has an associated context.

Sourcemodule Effects : sig ... end
Sourcemodule Suspend : sig ... end

Suspend a fiber and enter the scheduler.

Sourcemodule Debug : sig ... end