Home
last modified time | relevance | path

Searched refs:Blocked (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dpipe.rs216 .wakeup(Some(ProcessState::Blocked(true))); in read_at()
261 .wakeup(Some(ProcessState::Blocked(true))); in read_at()
266 .wakeup(Some(ProcessState::Blocked(true))); in read_at()
323 .wakeup_all(Some(ProcessState::Blocked(true))); in close()
334 .wakeup_all(Some(ProcessState::Blocked(true))); in close()
372 .wakeup(Some(ProcessState::Blocked(true))); in write_at()
407 .wakeup(Some(ProcessState::Blocked(true))); in write_at()
412 .wakeup(Some(ProcessState::Blocked(true))); in write_at()
/DragonOS/kernel/src/process/
H A Dmod.rs318 writer.set_state(ProcessState::Blocked(interruptable)); in mark_sleep()
392 pcb.wait_queue.wakeup(Some(ProcessState::Blocked(true))); in exit()
540 Blocked(bool), enumerator
556 return matches!(self, ProcessState::Blocked(_)); in is_blocked()
561 return matches!(self, ProcessState::Blocked(true)); in is_blocked_interruptable()
1282 state: ProcessState::Blocked(false), in new()
H A Dexit.rs204 ProcessState::Blocked(_) | ProcessState::Stopped => { in do_waitpid()