Expand description
Synchronization primitives based on spinning
Structsยง
- Mutex
- This type provides MUTual EXclusion based on spinning.
- Mutex
Guard - A guard to which the protected data can be accessed
- Once
- A synchronization primitive which can be used to run a one-time global initialization. Unlike its std equivalent, this is generalized so that the closure returns a value and it is stored. Once therefore acts something like a future, too.
- RwLock
- A reader-writer lock
- RwLock
Read Guard - A guard from which the protected data can be read
- RwLock
Upgradeable Guard - A guard from which the protected data can be read, and can be upgraded to a writable guard if needed
- RwLock
Write Guard - A guard to which the protected data can be written