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