Module sync
Available on crate feature
threading only.Expand description
Synchronization primitives.
Structsยง
- Channel
- Blocking channel for sending data between threads.
- Event
- An
Event, allowing to notify multiple threads that some event has happened. - Lock
- A basic locking object.
- Mutex
- A basic mutex with priority inheritance.
- Mutex
Guard - Grants access to the
Mutexinner data. - Wait
Queue - An
WaitQueue, allowing threads to wait for or be notified by other threads.