package ocaml_intrinsics

  1. Overview
  2. Docs

Module Ocaml_intrinsics.Atomic_expertSource

Untagged int

Sourceval native_pointer_fetch_and_add_int : Native_pointer.t -> int -> int
Sourceval native_pointer_fetch_and_sub_int : Native_pointer.t -> int -> int
Sourceval native_pointer_compare_and_swap_int : Native_pointer.t -> compare_with:int -> set_to:int -> bool
Sourceval ext_pointer_fetch_and_add_int : Ext_pointer.t -> int -> int
Sourceval ext_pointer_fetch_and_sub_int : Ext_pointer.t -> int -> int
Sourceval ext_pointer_compare_and_swap_int : Ext_pointer.t -> compare_with:int -> set_to:int -> bool
Sourceval bigstring_fetch_and_add_int : Bigstring_intf.t -> pos:int -> int -> int
Sourceval bigstring_fetch_and_sub_int : Bigstring_intf.t -> pos:int -> int -> int
Sourceval bigstring_compare_and_swap_int : Bigstring_intf.t -> pos:int -> compare_with:int -> set_to:int -> bool

Unboxed int64

Sourceval native_pointer_fetch_and_add_int64 : Native_pointer.t -> int64 -> int64
Sourceval native_pointer_fetch_and_sub_int64 : Native_pointer.t -> int64 -> int64
Sourceval native_pointer_compare_and_swap_int64 : Native_pointer.t -> compare_with:int64 -> set_to:int64 -> bool
Sourceval ext_pointer_fetch_and_add_int64 : Ext_pointer.t -> int64 -> int64
Sourceval ext_pointer_fetch_and_sub_int64 : Ext_pointer.t -> int64 -> int64
Sourceval ext_pointer_compare_and_swap_int64 : Ext_pointer.t -> compare_with:int64 -> set_to:int64 -> bool
Sourceval bigstring_fetch_and_add_int64 : Bigstring_intf.t -> pos:int -> int64 -> int64
Sourceval bigstring_fetch_and_sub_int64 : Bigstring_intf.t -> pos:int -> int64 -> int64
Sourceval bigstring_compare_and_swap_int64 : Bigstring_intf.t -> pos:int -> compare_with:int64 -> set_to:int64 -> bool

Unboxed int32

Sourceval native_pointer_fetch_and_add_int32 : Native_pointer.t -> int32 -> int32
Sourceval native_pointer_fetch_and_sub_int32 : Native_pointer.t -> int32 -> int32
Sourceval native_pointer_compare_and_swap_int32 : Native_pointer.t -> compare_with:int32 -> set_to:int32 -> bool
Sourceval ext_pointer_fetch_and_add_int32 : Ext_pointer.t -> int32 -> int32
Sourceval ext_pointer_fetch_and_sub_int32 : Ext_pointer.t -> int32 -> int32
Sourceval ext_pointer_compare_and_swap_int32 : Ext_pointer.t -> compare_with:int32 -> set_to:int32 -> bool
Sourceval bigstring_fetch_and_add_int32 : Bigstring_intf.t -> pos:int -> int32 -> int32
Sourceval bigstring_fetch_and_sub_int32 : Bigstring_intf.t -> pos:int -> int32 -> int32
Sourceval bigstring_compare_and_swap_int32 : Bigstring_intf.t -> pos:int -> compare_with:int32 -> set_to:int32 -> bool

Unboxed nativeint

Sourceval native_pointer_fetch_and_add_nativeint : Native_pointer.t -> nativeint -> nativeint
Sourceval native_pointer_fetch_and_sub_nativeint : Native_pointer.t -> nativeint -> nativeint
Sourceval native_pointer_compare_and_swap_nativeint : Native_pointer.t -> compare_with:nativeint -> set_to:nativeint -> bool
Sourceval ext_pointer_fetch_and_add_nativeint : Ext_pointer.t -> nativeint -> nativeint
Sourceval ext_pointer_fetch_and_sub_nativeint : Ext_pointer.t -> nativeint -> nativeint
Sourceval ext_pointer_compare_and_swap_nativeint : Ext_pointer.t -> compare_with:nativeint -> set_to:nativeint -> bool
Sourceval bigstring_fetch_and_add_nativeint : Bigstring_intf.t -> pos:int -> nativeint -> nativeint
Sourceval bigstring_fetch_and_sub_nativeint : Bigstring_intf.t -> pos:int -> nativeint -> nativeint
Sourceval bigstring_compare_and_swap_nativeint : Bigstring_intf.t -> pos:int -> compare_with:nativeint -> set_to:nativeint -> bool