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