schedrelease() syscall for more efficient spinning

This commit is contained in:
2025-09-19 23:38:08 +02:00
parent e01d8d5e1a
commit 1b5701a659
10 changed files with 49 additions and 1 deletions

9
kernel/syscall/sched.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef SYSCALL_SCHED_H_
#define SYSCALL_SCHED_H_
#include <stdint.h>
#include "syscall.h"
int32_t SYSCALL0(sys_schedrelease);
#endif // SYSCALL_SCHED_H_