pub fn membarrier_query() -> MembarrierQuery
membarrier(MEMBARRIER_CMD_QUERY, 0, 0)—Query the supported membarrier commands.
membarrier(MEMBARRIER_CMD_QUERY, 0, 0)
membarrier
This function doesn’t return a Result because it always succeeds; if the underlying OS doesn’t support the membarrier syscall, it returns an empty MembarrierQuery value.
Result
MembarrierQuery