Module Atomic.Expert
val fenceless_get :
('a : value_or_null). 'a Portable_kernel.Atomic.t @ local ->
'a @ portable contendedLoad 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!