package riot

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

Install

Dune Dependency

Authors

Maintainers

Sources

riot-0.0.5.tbz
sha256=01b7b82ccc656b12b7315960d9df17eb4682b8f1af68e9fee33171fee1f9cf88
sha512=d8831d8a75fe43a7e8d16d2c0bb7d27f6d975133e17c5dd89ef7e575039c59d27c1ab74fbadcca81ddfbc0c74d1e46c35baba35ef825b36ac6c4e49d7a41d0c2

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.