Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/docs/kernel/sched/
Drust_waiting.md37    当前进程会被挂起,直到有另一个进程调用了`wq.wakeup()`。
45 wq.wakeup(PROC_INTERRUPTIBLE);
48 wq.wakeup(PROC_UNINTERRUPTIBLE);
51 wq.wakeup((-1) as u64);
71   您可以使用`wakeup(state)`函数,唤醒等待队列中的第一个进程。如果这个进程的state与给定的state进行and操作之后,结果不为0,则唤醒它。
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs90 inode.write_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in read_at()
129 inode.write_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in read_at()
172 inode.read_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in write_at()
200 inode.read_wait_queue.wakeup(PROC_INTERRUPTIBLE.into()); in write_at()
/DragonOS-0.1.8/kernel/src/libs/
Dsemaphore.rs50 if !self.wait_queue.wakeup(0x_ffff_ffff_ffff_ffff) { in up()
Dwait_queue.rs148 pub fn wakeup(&self, state: u64) -> bool { in wakeup() method