Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 16 of 16) sorted by relevance

/DragonOS/docs/kernel/locking/
H A Dmutex.md7 # 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 Dindex.rst12 mutex
H A Dlocks.md48 ### mutex互斥量
/DragonOS/kernel/src/libs/
H A Dmod.rs11 pub mod mutex; module
H A Dwait_queue.rs16 mutex::MutexGuard,
/DragonOS/kernel/src/common/sys/
H A Dtypes.h73 pthread_mutex_t *mutex; member
/DragonOS/kernel/src/virt/kvm/
H A Dmod.rs5 use crate::libs::mutex::Mutex;
H A Dvm.rs4 use crate::libs::mutex::Mutex;
/DragonOS/kernel/src/arch/x86_64/kvm/
H A Dmod.rs3 use crate::libs::mutex::Mutex;
/DragonOS/docs/introduction/
H A Dfeatures.md42 - [x] mutex互斥量
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dmmu.rs3 libs::mutex::Mutex,
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.0.md108 - mutex 互斥量
/DragonOS/kernel/src/namespaces/
H A Ducount.rs11 use crate::libs::mutex::Mutex;
/DragonOS/kernel/src/exception/
H A Dmanage.rs191 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 Dirqdesc.rs25 mutex::{Mutex, MutexGuard},
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs30 mutex::Mutex,