Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
    Page
Library
Module
Module type
Parameter
Class
Class type
Source
Atomic.Native_pointerSourcefetch_and_$op_$type ptr val atomically runs *( *$type )ptr $op val, stores the result at ptr, and returns the original value at ptr.
compare_and_swap_$type ptr ~compare_with ~set_to atomically checks if the value at ptr is equal to compare_with: if so, it stores set_to to ptr and returns true, otherwise returns false
Pointer to untagged int
Pointer to unboxed int64
Pointer to unboxed int32
Pointer to unboxed nativeint
val compare_and_swap_nativeint : 
  Native_pointer.t ->
  compare_with:nativeint ->
  set_to:nativeint ->
  bool