Searched refs:wq (Results 1 – 2 of 2) sorted by relevance
26 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);
35 …wait_queue_node_t *wq = container_of(list_next(&sema->wait_queue.wait_list), wait_queue_node_t, wa… in semaphore_up() local36 list_del(&wq->wait_list); in semaphore_up()38 process_wakeup_immediately(wq->pcb); in semaphore_up()