Skip to main content

Module barrier

Module barrier 

Source
Expand description

Memory barriers.

These primitives have the same semantics as their C counterparts: and the precise definitions of semantics can be found at LKMM.

Re-exports§

pub use ordering::Full;
pub use ordering::Read;
pub use ordering::Write;

Modules§

ordering
Memory barrier orderings.

Functions§

dma_mb
Memory barrier between local CPU and bus-mastering devices.
mb
Memory barrier.
smp_mb
Memory barrier between CPUs.