Home
last modified time | relevance | path

Searched refs:wq (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/docs/kernel/sched/
Drust_waiting.md26 let mut wq = WaitQueue::INIT;
34 wq.sleep();
37    当前进程会被挂起,直到有另一个进程调用了`wq.wakeup()`。
45 wq.wakeup(PROC_INTERRUPTIBLE);
48 wq.wakeup(PROC_UNINTERRUPTIBLE);
51 wq.wakeup((-1) as u64);
/DragonOS-0.1.5/kernel/src/libs/
Dsemaphore.c35 …wait_queue_node_t *wq = container_of(list_next(&sema->wait_queue.wait_list), wait_queue_node_t, wa… in semaphore_up() local
36 list_del(&wq->wait_list); in semaphore_up()
38 process_wakeup_immediately(wq->pcb); in semaphore_up()