pub unsafe extern "C" fn svcArbitrateAddress(
    arbiter: Handle,
    addr: u32_,
    type_: ArbitrationType,
    value: s32,
    timeout_ns: s64
) -> Result
Expand description

Arbitrate an address, can be used for synchronization

§Arguments

  • arbiter - Handle of the arbiter
  • addr - A pointer to a s32 value.
  • type - Type of action to be performed by the arbiter
  • value - Number of threads to signal if using ARBITRATION_SIGNAL, or the value used for comparison.
  • timeout_ns - Optional timeout in nanoseconds when using TIMEOUT actions, ignored otherwise. If not needed, use svcArbitrateAddressNoTimeout instead.

Note: Usage of this syscall entails an implicit Data Memory Barrier (dmb). Please use syncArbitrateAddressWithTimeout instead.