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§
- An guard that provides exclusive access to the data protected by a
Arc<Mutex>. - A guard that provides shared read access to the data protected by a
Arc<RwLock>. - A upgradable guard that provides read access to the data protected by a
Arc<RwLock>. - A guard that provides exclusive write access to the data protected by a
Arc<RwLock>. - A guard that provides shared read access to the data protected by a
Arc<RwMutex>. - A upgradable guard that provides read access to the data protected by a
Arc<RwMutex>. - A guard that provides exclusive write access to the data protected by a
Arc<RwMutex>. - A guard that provides exclusive access to the data protected by a
Arc<SpinLock>. - A guard that provides exclusive access to the data protected by a
Mutex. - A guard that provides shared read access to the data protected by a
RwLock. - A upgradable guard that provides read access to the data protected by a
RwLock. - A guard that provides exclusive write access to the data protected by a
RwLock. - A guard that provides shared read access to the data protected by a
RwMutex. - A upgradable guard that provides read access to the data protected by a
RwMutex. - A guard that provides exclusive write access to the data protected by a
RwMutex. - A guard that provides exclusive access to the data protected by a
SpinLock.