diff options
Diffstat (limited to 'include/internal.h')
-rw-r--r-- | include/internal.h | 6 |
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 */ |
7 | typedef int (*rt_setup_fn_t)(int pid, void* arg); | 7 | typedef int (*rt_setup_fn_t)(int pid, void* arg); |
8 | int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg, | 8 | int __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 | |||
24 | int sched_setscheduler(pid_t pid, int policy, int* prioriy); | ||
25 | int sched_getscheduler(pid_t pid); | ||