Module ostd::sync

source ·
Expand description

Useful synchronization primitives.

Structs§

  • A fixed number of bits taht can be safely shared between threads.
  • A mutex with waitqueue.
  • Spin-based Read-write Lock
  • A mutex that provides data access to either one writer or many readers.
  • A spin lock.
  • A wait queue.
  • A waiter that can put the current thread to sleep until it is woken up by the associated Waker.
  • A waker that can wake up the associated Waiter.

Type Aliases§