Kernel: Remove SYS_SLEEP and cleanup SYS_NANOSLEEP

`sleep` is now implemented in terms of `nanosleep`. `nanosleep` is now
more precise and handles overflow when calculating wakeup time. I don't
think anything was depending on this, but I could see a program sleeping
for max time to block until signal.
This commit is contained in:
2026-07-02 15:22:52 +03:00
parent 20663b533b
commit d241975ce1
7 changed files with 44 additions and 47 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
namespace Kernel
{
static_assert(SYS_SIGPROCMASK == 79, "this is hard coded in arch/*/Signal.S");
static_assert(SYS_SIGPROCMASK == 78, "this is hard coded in arch/*/Signal.S");
static_assert(SIG_SETMASK == 3, "this is hard coded in arch/*/Signal.S");
#if ARCH(x86_64)