Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 24 of 24) sorted by relevance

/DragonOS/user/apps/test_alarm/src/
H A Dmain.rs2 use libc::{signal, sleep, syscall, SYS_alarm, SIGALRM};
20 sleep(6); in main()
37 sleep(4); in main()
/DragonOS/docs/kernel/sched/
H A Drust_waiting.md34 wq.sleep();
62 | sleep() | 将当前进程挂起,并设置进程状态为PROC_INTERRUPTIBLE …
/DragonOS/user/apps/riscv_init/
H A Dmain.c6 sleep(1); in main()
/DragonOS/user/apps/test_sigint/
H A Dmain.c25 sleep(5); in main()
/DragonOS/tools/
H A Dbuild_gcc_toolchain.sh89 sleep 0.3s
133 sleep 1s
164 sleep 1s
/DragonOS/user/apps/test_eventfd/
H A Dmain.c40 sleep(2); in main()
/DragonOS/kernel/src/libs/
H A Dsemaphore.rs40 self.wait_queue.sleep(); in down()
H A Dwait_queue.rs65 pub fn sleep(&self) { in sleep() method
331 pub fn sleep(&self, events: u64) { in sleep() method
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.0.md103 - 进程的定时睡眠(sleep)(支持spin/rdtsc高精度睡眠、支持上下文切换方式的睡眠)
228 - sleep
H A DV0.1.9.md88 - bugfix: 修正由于init proc union导致的无法运行的问题 && 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug ([#381](https://…
92 - bugfix: 解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的…
98 - bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 ([#470](https://github.com/DragonOS-C…
838 bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 (#470)
1246 1.解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的bug
1817 修正由于init proc union导致的无法运行的问题 && 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug (#381)
1820 2. 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug
1914 * 标志进程sleep
H A DV0.1.10.md665 * 将file层的锁粒度缩小,从而不使用no_preempt。更改pipe在sleep部分的bug
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs165 std::thread::sleep(std::time::Duration::from_secs(1)); in run()
256 std::thread::sleep(std::time::Duration::from_secs(1)); in load_header()
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs100 std::thread::sleep(std::time::Duration::from_secs(1)); in run_main()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs134 self.posix_item.sleep(EPollEventType::EPOLLIN.bits() as u64); in read()
359 self.posix_item.sleep(EPollEventType::EPOLLIN.bits() as u64); in read()
678 .sleep((EPollEventType::EPOLLIN | EPollEventType::EPOLLHUP).bits() as u64); in read()
779 self.posix_item.sleep(Self::CAN_CONNECT); in connect()
961 self.posix_item.sleep(Self::CAN_ACCPET); in accept()
H A Dmod.rs420 pub fn sleep(&self, events: u64) { in sleep() method
/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs363 thread::sleep(Duration::from_secs(2)); in test02()
367 thread::sleep(Duration::from_secs(3)); in test02()
/DragonOS/kernel/src/time/
H A Dsyscall.rs11 time::{sleep::nanosleep, PosixTimeSpec},
H A Dmod.rs14 pub mod sleep; module
/DragonOS/kernel/src/process/
H A Dmod.rs1249 sleep: bool, field
1262 self.sleep = true; in set_sleep()
1266 self.sleep = false; in set_wakeup()
1270 self.sleep in is_mark_sleep()
1283 sleep: false, in new()
H A Dexit.rs148 child_weak.upgrade().unwrap().wait_queue.sleep(); in do_wait()
/DragonOS/kernel/src/net/
H A Dnet_core.rs11 sleep::nanosleep,
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs188 self.wait_queue.sleep(); in write_at()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1701 .sleep((EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM).bits() as u64); in read()
1828 .sleep(EPollEventType::EPOLLOUT.bits() as u64); in write()
/DragonOS/kernel/src/mm/
H A Dpage.rs28 time::{sleep::nanosleep, PosixTimeSpec},