pub fn futex_wake(futex: &Atomic<u32>) -> bool
Available on (Linux, or Android, or Emscripten and target feature
atomics
, or FreeBSD, or OpenBSD, or DragonFly BSD, or Fuchsia) and (Linux or Android) only.Expand description
Wakes up one thread that’s blocked on futex_wait
on this futex.
Returns true if this actually woke up such a thread, or false if no thread was waiting on this futex.
On some platforms, this always returns false.