implement stub versions of sched_*
these actually work, but for now they prohibit actually setting priority levels and report min/max priority as 0.
This commit is contained in:
parent
b959d04644
commit
61be1cfec1
7 changed files with 49 additions and 0 deletions
|
|
@ -1,10 +0,0 @@
|
|||
#include <sched.h>
|
||||
#include "syscall.h"
|
||||
#include "libc.h"
|
||||
|
||||
int __yield()
|
||||
{
|
||||
return syscall(SYS_sched_yield);
|
||||
}
|
||||
|
||||
weak_alias(__yield, sched_yield);
|
||||
Loading…
Add table
Add a link
Reference in a new issue