Expand description
Synchronization and interior mutability primitives
Modules
condvar 🔒
Conditian variable
mutex 🔒
Mutex (spin-like and blocking(sleep))
Semaphore
up 🔒
Safe Cell for uniprocessor(single cpu core)
Structs
Condition variable structure
Blocking Mutex struct
Spinlock Mutex struct
semaphore structure
Wrap a static data structure inside it so that we are
able to access it without any unsafe
.
Traits
Mutex trait