Module Atomic.Expert

val fenceless_get : 'a. 'a t @ local -> 'a @ portable contended

Load the value referenced by the given atomic, without using any compiler or hardware fences.

This is dubiously safe, and has no explicit semantics within the OCaml memory model - and may do the wrong thing entirely on backends with weak memory models such as ARM. Use with caution!