Module CamlinternalAtomic
module CamlinternalAtomic: sig .. end
type 'a t
val make : 'a -> 'a t
val get : 'a t -> 'a
val set : 'a t -> 'a -> unit
val exchange : 'a t -> 'a -> 'a
val compare_and_set : 'a t -> 'a -> 'a -> bool
val fetch_and_add : int t -> int -> int
val incr : int t -> unit
val decr : int t -> unit
© 1995-2021 INRIA.
https://www.ocaml.org/releases/4.13/htmlman/libref/CamlinternalAtomic.html