package riot

  1. Overview
  2. Docs
type t

A process identifier. Use values of this type to check if processes are still alive, to send them messages, to link to them, to monitor them, and to send them exit signals.

val zero : t

zero is the empty pid. It represents the first process created by the runtime. This is typically the `main` function passed to `Riot.run`

val equal : t -> t -> bool

`equal pid1 pid2` returns true if both pids are the same.

val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.