Home
last modified time | relevance | path

Searched refs:INIT (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/docs/kernel/sched/
Drust_waiting.md23    WaitQueue对象的初始化非常简单,只需要调用WaitQueue::INIT即可。
26 let mut wq = WaitQueue::INIT;
/DragonOS-0.1.8/kernel/src/libs/
Dlockref.rs33 pub const INIT: LockRef = LockRef { constant
34 lock: RawSpinlock::INIT,
40 return LockRef::INIT; in new()
55 let mut old: LockRef = LockRef::INIT; in cmpxchg_loop()
59 let mut new = LockRef::INIT; in cmpxchg_loop()
Dwait_queue.rs41 pub const INIT: WaitQueue = WaitQueue(SpinLock::new(InnerWaitQueue::INIT)); constant
201 pub const INIT: InnerWaitQueue = InnerWaitQueue { constant
Dsemaphore.rs25 wait_queue: WaitQueue::INIT, in new()
Dspinlock.rs72 pub const INIT: RawSpinlock = RawSpinlock(AtomicBool::new(false)); constant
204 lock: RawSpinlock::INIT, in new()
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs44 read_wait_queue: WaitQueue::INIT, in new()
45 write_wait_queue: WaitQueue::INIT, in new()
/DragonOS-0.1.8/kernel/src/sched/
Drt.rs48 lock: RawSpinlock::INIT, in new()
Dcfs.rs53 lock: RawSpinlock::INIT, in new()
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs28 pub static ref SOCKET_WAITQUEUE: WaitQueue = WaitQueue::INIT;