diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-03 23:18:26 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-03 23:18:26 -0400 |
commit | 61be1cfec1f5da66c68f92a6939e3a38e673c9d6 (patch) | |
tree | 5d1221bd675bf7e33c6b53b5e974bd2bf1983756 /src/misc | |
parent | b959d04644d99f27d9f10344e76c079a12bc1ffd (diff) | |
download | musl-61be1cfec1f5da66c68f92a6939e3a38e673c9d6.tar.gz musl-61be1cfec1f5da66c68f92a6939e3a38e673c9d6.tar.bz2 musl-61be1cfec1f5da66c68f92a6939e3a38e673c9d6.tar.xz musl-61be1cfec1f5da66c68f92a6939e3a38e673c9d6.zip |
implement stub versions of sched_*
these actually work, but for now they prohibit actually setting
priority levels and report min/max priority as 0.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/sched_yield.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/misc/sched_yield.c b/src/misc/sched_yield.c deleted file mode 100644 index 6c0742b4..00000000 --- a/src/misc/sched_yield.c +++ /dev/null @@ -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); |