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.runtime/Runtime/index.html

Module RuntimeSource

Sourcemodule Log = Log
Sourcemodule Net = Net
include module type of struct include Core end
Sourcemodule Mailbox = Core.Mailbox
Sourcemodule Message = Core.Message
Sourcemodule Pid = Core.Pid
Sourcemodule Proc_effect = Core.Proc_effect
Sourcemodule Proc_queue = Core.Proc_queue
Sourcemodule Proc_registry = Core.Proc_registry
Sourcemodule Proc_set = Core.Proc_set
Sourcemodule Proc_state = Core.Proc_state
Sourcemodule Proc_table = Core.Proc_table
Sourcemodule Process = Core.Process
Sourcemodule Ref = Core.Ref
Sourcemodule Scheduler_uid = Core.Scheduler_uid
Sourceval trace_send : (Core.Pid.t -> Core.Process.t -> Core.Message.t -> unit) -> unit
Sourceval trace_proc_run : (int -> Core.Process.t -> unit) -> unit
Sourceval _get_pool : unit -> Scheduler.pool
Sourceval _get_sch : unit -> Scheduler.t
Sourceval _get_proc : Core.Pid.t -> Core.Process.t
Sourceval self : unit -> Core.Pid.t
Sourceval syscall : string -> [ `r | `rw | `w ] -> Util.Fd.t -> (Util.Fd.t -> 'a) -> 'a
Sourceval receive : ?ref:unit Core.Ref.t -> unit -> Core.Message.t
Sourceval yield : unit -> unit
Sourceval random : unit -> Random.State.t
Sourceval sleep : float -> unit
Sourceval process_flag : Core.Process.process_flag -> unit
Sourceval send : Core.Pid.t -> Core.Message.t -> unit
Sourceexception Invalid_destination of string
Sourceval send_by_name : name:string -> Core.Message.t -> unit
Sourceval _spawn : ?do_link:bool -> Scheduler.pool -> Scheduler.t -> (unit -> 'a) -> Core.Pid.t
Sourceval spawn : (unit -> 'a) -> Core.Pid.t
Sourceval monitor : Core.Pid.t -> Core.Pid.t -> unit
Sourceval register : string -> Core.Pid.t -> unit
Sourceval unregister : string -> unit
Sourceval processes : unit -> (Core.Pid.t * Core.Process.t) Seq.t
Sourceval is_process_alive : Core.Pid.t -> bool
Sourceval wait_pids : Core.Pid.t list -> unit
Sourcemodule Timer : sig ... end
include module type of struct include Util end
Sourcemodule Dashmap = Util.Dashmap
Sourcemodule Fd = Util.Fd
Sourcemodule Lf_queue = Util.Lf_queue
Sourcemodule Thread_local = Util.Thread_local
Sourcemodule Uid = Util.Uid
include module type of struct include Core.Proc_registry.Exn end
Sourceexception Name_already_registered of string * Core.Pid.t
OCaml

Innovation. Community. Security.