Function membarrier::heavy
source · pub fn heavy()
Expand description
Issues a heavy memory barrier for slow path.
It issues a private expedited membarrier using the sys_membarrier()
system call, if
supported; otherwise, it falls back to mprotect()
-based process-wide memory barrier.