sun5etop

Results 1 issues of sun5etop

**描述错误** * 在rust程序中,thread::sleep(millis)函数会使当前进程睡眠millis毫秒,但当收到当前线程结束信号时,即使睡眠时间没有达到millis毫秒也会强制提前结束睡眠。 * 逻辑有误的地方在DragonOS/kernel/src/time/sleep.rs中的nanosleep函数, `ProcessManager::mark_sleep(true).ok();` 使得当前睡眠提前打断结束。 **请填写您的电脑的信息:** 操作系统及版本:Ubuntu 22.04 DragonOS版本:[c719ddc](https://github.com/DragonOS-Community/DragonOS/commit/c719ddc6312acd7976e0f6fd449a94ff9abad5a6) DADK版本:0.1.10 Rust版本:1.68 **重现步骤** * 例如以下程序: ![1713288809116](https://github.com/DragonOS-Community/DragonOS/assets/146408999/1c4048dd-da73-4a94-8c46-98c24f6bffd5) **期望行为** 让nanosleep能正确处理当前进程结束传来的信息,完成睡眠时间。

bug
In-progress
bug-report