package moonpool

  1. Overview
  2. Docs
Pools of threads supported by a pool of domains

Install

Dune Dependency

Authors

Maintainers

Sources

moonpool-0.7.tbz
sha256=c4a1f974200530ab7f6014de3a369fdbb260ff454183640f32e51ba3fec51b15
sha512=865daabb96e3d60f88ecee9fc9030dad8b257fff4121b404e882d8a8d6687b737beb6e22366f52eb14e770dfab28b326853a1d3d883fa19bbd791d8450b40f8b

doc/moonpool.fib/Moonpool_fib/Handle/index.html

Module Moonpool_fib.HandleSource

The unique name of a fiber.

Each fiber has a unique handle that can be used to refer to it in maps or sets.

Sourcetype t = private int

Unique, opaque identifier for a fiber.

Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval hash : t -> int
Sourceval generate_fresh : unit -> t

Generate a fresh, unique identifier

Sourcemodule Set : Set.S with type elt = t
Sourcemodule Map : Map.S with type key = t
OCaml

Innovation. Community. Security.