CamlinternalAtomic(3)
okay so bestie, you pulled up the OCaml library docs and landed on CamlinternalAtomic(3) β section 3, manual-page energy, and it is a tiny one. Buckle up, itβs giving minimal but iconic. β¨
π NAME π
CamlinternalAtomic β no description. Thatβs not me being shady; the manpage literally says no description. The audacity ππ
π¦ Module π¦
Module CamlinternalAtomic β yes, thatβs the module name, she said what she said. π
β¨ Documentation β¨
okay hereβs the whole documentation, bestie β exact sig end and every member, no cap:
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
thatβs the entire documented interface: the type, make, get, set, exchange, compare_and_set, fetch_and_add, incr, and decr. Every signature is copied exactly, character for character, because we do not play with code. π
mwah π β made by OCamldoc, dated 2026-09-24, for CamlinternalAtomic(3). Byeeee π«Άπ
π¦ where this page comes from
- alpine 3.24: ocaml-doc 4.14.4-r0 Β· LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms