Searched refs:mutex (Results 1 – 16 of 16) sorted by relevance
/DragonOS/docs/kernel/locking/ |
H A D | mutex.md | 7 # mutex互斥量 9   mutex是一种轻量级的同步原语,只有被加锁、空闲两种状态。 11   当mutex被占用时,尝试对mutex进行加锁操作的进程将会被休眠,直到资源可用。 15 - 同一时间只有1个任务可以持有mutex 17 - 只允许通过mutex的api来操作mutex 18 - 在硬中断、软中断中不能使用mutex 22   mutex定义在`lib/mutex.rs`中,定义如下所示: 129   mutex定义在`common/mutex.h`中。其数据类型如下所示: 136 spinlock_t wait_lock; // mutex操作锁,用于对mutex的list的操作进行加锁 147   初始化一个mutex对象。 [all …]
|
H A D | index.rst | 12 mutex
|
H A D | locks.md | 48 ### mutex互斥量
|
/DragonOS/kernel/src/libs/ |
H A D | mod.rs | 11 pub mod mutex; module
|
H A D | wait_queue.rs | 16 mutex::MutexGuard,
|
/DragonOS/kernel/src/common/sys/ |
H A D | types.h | 73 pthread_mutex_t *mutex; member
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | mod.rs | 5 use crate::libs::mutex::Mutex;
|
H A D | vm.rs | 4 use crate::libs::mutex::Mutex;
|
/DragonOS/kernel/src/arch/x86_64/kvm/ |
H A D | mod.rs | 3 use crate::libs::mutex::Mutex;
|
/DragonOS/docs/introduction/ |
H A D | features.md | 42 - [x] mutex互斥量
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | mmu.rs | 3 libs::mutex::Mutex,
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.0.md | 108 - mutex 互斥量
|
/DragonOS/kernel/src/namespaces/ |
H A D | ucount.rs | 11 use crate::libs::mutex::Mutex;
|
/DragonOS/kernel/src/exception/ |
H A D | manage.rs | 191 req_mutex_guard: crate::libs::mutex::MutexGuard<'_, ()>, in inner_setup_irq() 202 req_mutex_guard: crate::libs::mutex::MutexGuard<'_, ()>, in inner_setup_irq() 213 req_mutex_guard: crate::libs::mutex::MutexGuard<'_, ()>| in inner_setup_irq()
|
H A D | irqdesc.rs | 25 mutex::{Mutex, MutexGuard},
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 30 mutex::Mutex,
|