Function atomic_wait::wait

source ·
pub fn wait(atomic: &AtomicU32, value: u32)
Expand description

If the value is value, wait until woken up.

This function might also return spuriously, without a corresponding wake operation.