package riot

  1. Overview
  2. Docs
An actor-model multi-core scheduler for OCaml 5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

riot-0.0.4.tbz
sha256=bd196369f74bbc42f23d262030d5fa04c03f5f00c46bf944f0dcbc193745976f
sha512=f1ca69e05b57e83a1bd173efe51b745d331355a83381e6068743a7626e45dcf515cdd8947180051bddfe9f5727c2732aa0f01a093b04cf33fa4081d32f24fd65

doc/riot.core/Core/Proc_state/index.html

Module Core.Proc_stateSource

Sourcetype ('a, 'b) continuation
Sourcetype 'a t =
  1. | Finished of ('a, exn) result
  2. | Suspended : ('a, 'b) continuation * 'a Effect.t -> 'b t
  3. | Unhandled : ('a, 'b) continuation * 'a -> 'b t
Sourcetype 'a step =
  1. | Continue of 'a
  2. | Discontinue of exn
  3. | Reperform : 'a Effect.t -> 'a step
  4. | Delay : 'a step
  5. | Suspend : 'a step
  6. | Yield : unit step
Sourcetype ('a, 'b) step_callback = ('a step -> 'b t) -> 'a Effect.t -> 'b t
Sourcetype perform = {
  1. perform : 'a 'b. ('a, 'b) step_callback;
}
Sourceval make : ('a -> 'b) -> 'a Effect.t -> 'b t
Sourceval run : reductions:int -> perform:perform -> 'a t -> 'a t
OCaml

Innovation. Community. Security.