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

6
share/sysdefs/sched.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef SHARE_SYSDEFS_SHED_H_
#define SHARE_SYSDEFS_SHED_H_
#endif // SHARE_SYSDEFS_SHED_H_

View File

@ -8,6 +8,7 @@ enum {
SYS_IPCPIPE = 4,
SYS_MMAN_MAP = 5,
SYS_MMAN_UNMAP = 6,
SYS_SCHEDRELEASE = 7,
};
#endif // SHARE_HDRS_SYSCALL_H_