Module rustix::process::membarrier
source · Expand description
The Linux membarrier
syscall.
Re-exports§
pub use backend::process::types::MembarrierCommand;
Structs§
- A result from
membarrier_query
.
Functions§
membarrier(cmd, 0, 0)
—Perform a memory barrier.membarrier(cmd, MEMBARRIER_CMD_FLAG_CPU, cpu)
—Perform a memory barrier with a specific CPU.membarrier(MEMBARRIER_CMD_QUERY, 0, 0)
—Query the supportedmembarrier
commands.