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.3.tbz
sha256=6201ce27997ec1c4b4509782c6be2fa2bf102b804b11dcbf9ebdb49a123c19c3
sha512=ad70a67601a892700e461efe57484d109b1d08e30d15464ad8611e71dd568c934d3f948afd645e096e4f97ad1935aaeaf5d9b6d9d59c52a82eeb5c4995421646

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. | 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.