Ocaml_intrinsics.AtomicAtomic arithmetic operations
module Expert = Atomic_expertmodule Native_pointer : sig ... endfetch_and_$op_$type ptr val atomically runs *( *$type )ptr $op val, stores the result at ptr, and returns the original value at ptr.
module Ext_pointer : sig ... endfetch_and_$op_$type ptr val atomically runs *( *$type )ptr $op val, stores the result at ptr, and returns the original value at ptr.
module Bigstring : sig ... endfetch_and_$op_$type ptr ~pos val atomically runs *( *$type )((ptr + pos) $op val, stores the result at ptr + pos, and returns the original value at ptr + pos.