sched_yield implementation
This commit is contained in:
@ -3306,7 +3306,9 @@ SYSCALL_DECLARE(get_cpu_id)
|
|||||||
|
|
||||||
SYSCALL_DECLARE(sched_yield)
|
SYSCALL_DECLARE(sched_yield)
|
||||||
{
|
{
|
||||||
return -ENOSYS;
|
schedule();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSCALL_DECLARE(mlock)
|
SYSCALL_DECLARE(mlock)
|
||||||
|
|||||||
Reference in New Issue
Block a user