aboutsummaryrefslogtreecommitdiffstats
path: root/include/internal.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-02-12 15:51:00 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-02-12 15:51:00 -0500
commit2c1f329215e57a6f070cab21236b132b22ef80c2 (patch)
treec881e0f22793b2ccde306a17a5755f647d42c9ee /include/internal.h
parent0530e4fae13d049315f19d6fda4327d6428fd58f (diff)
first changes to compile with LITMUS 20082008.0
Diffstat (limited to 'include/internal.h')
-rw-r--r--include/internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/internal.h b/include/internal.h
index 25e1573..761c434 100644
--- a/include/internal.h
+++ b/include/internal.h
@@ -5,7 +5,7 @@
5 5
6/* prepare a real-time task */ 6/* prepare a real-time task */
7typedef int (*rt_setup_fn_t)(int pid, void* arg); 7typedef int (*rt_setup_fn_t)(int pid, void* arg);
8int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg, 8int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg,
9 rt_setup_fn_t setup, void* setup_arg); 9 rt_setup_fn_t setup, void* setup_arg);
10 10
11#define check(str) \ 11#define check(str) \
@@ -19,3 +19,7 @@ int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg,
19 19
20 20
21#endif 21#endif
22
23
24int sched_setscheduler(pid_t pid, int policy, int* prioriy);
25int sched_getscheduler(pid_t pid);