Skip to main content

Module ordering

Module ordering 

Source
Expand description

Memory barrier orderings.

The semantics of these orderings follows the LKMM definitions and rules.

  • Read provides ordering between preceding load operations and succeeding load operations.
  • Write provides ordering between preceding store operations and succeeding store operations.
  • Full provides ordering between all the preceding memory accesses and succeeding memory accesses.

Re-exports§

pub use crate::sync::atomic::ordering::Full;

Structs§

Read
The annotation type for read-read barrier ordering.
Write
The annotation type for write-write barrier ordering.