Module rustix::process::membarrier

source ·
Expand description

The Linux membarrier syscall.

Re-exports§

Structs§

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 supported membarrier commands.