Crate atomic_utilities [−] [src]
This library contains a hodgepodge of various utilities for writing fast lockfree code. The current modules are:
artificial_dep: Used for creating fake data dependencies and eliding fences
fence_rmw: Used for writing RMW operations that act as a full SeqCst fence in an efficient manner
See each module for more documentation
This module provides a function that forces an artificial data dependency between two loads. Basically, the code:
This mod provides orderings to use with RMW operations that optimally handle the case when all loads and stores after an RMW operation must be ordered after the operation.