From 61be1cfec1f5da66c68f92a6939e3a38e673c9d6 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 3 May 2012 23:18:26 -0400 Subject: implement stub versions of sched_* these actually work, but for now they prohibit actually setting priority levels and report min/max priority as 0. --- src/sched/sched_rr_get_interval.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/sched/sched_rr_get_interval.c (limited to 'src/sched/sched_rr_get_interval.c') diff --git a/src/sched/sched_rr_get_interval.c b/src/sched/sched_rr_get_interval.c new file mode 100644 index 00000000..43bc4904 --- /dev/null +++ b/src/sched/sched_rr_get_interval.c @@ -0,0 +1,8 @@ +#include +#include "syscall.h" + +int sched_rr_get_interval(pid_t pid, struct timespec *ts) +{ + return syscall(SYS_sched_rr_get_interval, pid, ts); +} + -- cgit v1.2.1