Available on Android, or DragonFly BSD, or FreeBSD, or Fuchsia, or Linux, or OpenBSD, or Emscripten and target feature
atomics only.Functions§
- futex_
wait Android or FreeBSD or Linux - Waits for a
futex_wakeoperation to wake us. - futex_
wake Android or Linux - Wakes up one thread that’s blocked on
futex_waiton this futex. - futex_
wake_ all Android or Linux - Wakes up all threads that are waiting on
futex_waiton this futex.
Type Aliases§
- Futex
- An atomic for use as a futex that is at least 32-bits but may be larger
- Primitive
- Must be the underlying type of Futex
- Small
Futex - An atomic for use as a futex that is at least 8-bits but may be larger.
- Small
Primitive - Must be the underlying type of SmallFutex