Expand description
同步互斥模块
教程阅读建议:
up.rs:先理解“单核下通过关中断保护临界区”;mutex/semaphore/condvar:再看经典同步原语如何基于等待队列实现。
Structs§
- Condvar
- Condvar
- Condvar
Signal Result - 条件变量 signal 结果。
- Condvar
Wait Result - 条件变量等待结果。
- Mutex
Blocking - MutexBlocking
- Semaphore
- Semaphore
- UPIntr
Free Cell - 带中断屏蔽的内部可变性容器。
- UPIntr
RefMut - A wrapper type for a mutably borrowed value from a RefCell
Traits§
- Mutex
- Mutex trait