Module Fiber.Id

Fiber unique identifiers.

type t = int

The type for fiber unique identifiers.

val nil : t

nil is an identifier that will never be attributed to a fiber.

val equal : t -> t -> bool

equal tests identifiers for equality.

val compare : t -> t -> int

compare is a total order on identifiers compatible with equal.

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

pp formats fiber identifiers.