forked from Bananymous/banan-os
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user