/DragonOS/user/apps/test_alarm/src/ |
H A D | main.rs | 2 use libc::{signal, sleep, syscall, SYS_alarm, SIGALRM}; 20 sleep(6); in main() 37 sleep(4); in main()
|
/DragonOS/docs/kernel/sched/ |
H A D | rust_waiting.md | 34 wq.sleep(); 62 | sleep() | 将当前进程挂起,并设置进程状态为PROC_INTERRUPTIBLE …
|
/DragonOS/user/apps/riscv_init/ |
H A D | main.c | 6 sleep(1); in main()
|
/DragonOS/user/apps/test_sigint/ |
H A D | main.c | 25 sleep(5); in main()
|
/DragonOS/tools/ |
H A D | build_gcc_toolchain.sh | 89 sleep 0.3s 133 sleep 1s 164 sleep 1s
|
/DragonOS/user/apps/test_eventfd/ |
H A D | main.c | 40 sleep(2); in main()
|
/DragonOS/kernel/src/libs/ |
H A D | semaphore.rs | 40 self.wait_queue.sleep(); in down()
|
H A D | wait_queue.rs | 65 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 D | V0.1.0.md | 103 - 进程的定时睡眠(sleep)(支持spin/rdtsc高精度睡眠、支持上下文切换方式的睡眠) 228 - sleep
|
H A D | V0.1.9.md | 88 - 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 D | V0.1.10.md | 665 * 将file层的锁粒度缩小,从而不使用no_preempt。更改pipe在sleep部分的bug
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 165 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 D | mod.rs | 100 std::thread::sleep(std::time::Duration::from_secs(1)); in run_main()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 134 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 D | mod.rs | 420 pub fn sleep(&self, events: u64) { in sleep() method
|
/DragonOS/user/apps/test-for-robustfutex/src/ |
H A D | main.rs | 363 thread::sleep(Duration::from_secs(2)); in test02() 367 thread::sleep(Duration::from_secs(3)); in test02()
|
/DragonOS/kernel/src/time/ |
H A D | syscall.rs | 11 time::{sleep::nanosleep, PosixTimeSpec},
|
H A D | mod.rs | 14 pub mod sleep; module
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 1246 sleep: bool, field 1259 self.sleep = true; in set_sleep() 1263 self.sleep = false; in set_wakeup() 1267 self.sleep in is_mark_sleep() 1280 sleep: false, in new()
|
H A D | exit.rs | 148 child_weak.upgrade().unwrap().wait_queue.sleep(); in do_wait()
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 11 sleep::nanosleep,
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 188 self.wait_queue.sleep(); in write_at()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 1703 .sleep((EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM).bits() as u64); in read() 1830 .sleep(EPollEventType::EPOLLOUT.bits() as u64); in write()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 28 time::{sleep::nanosleep, PosixTimeSpec},
|