DOKK / manpages / debian 12 / ocaml-man / CamlinternalAtomic.3o.en
CamlinternalAtomic(3o) OCaml library CamlinternalAtomic(3o)

CamlinternalAtomic - no description

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

2023-02-12 OCamldoc