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:
Rich Felker 2012-05-03 23:18:26 -04:00
commit 61be1cfec1
7 changed files with 49 additions and 0 deletions

View file

@ -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);