diff options
Diffstat (limited to 'include/litmus/aux_tasks.h')
-rw-r--r-- | include/litmus/aux_tasks.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/litmus/aux_tasks.h b/include/litmus/aux_tasks.h new file mode 100644 index 000000000000..255bbafcc6b7 --- /dev/null +++ b/include/litmus/aux_tasks.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef LITMUS_AUX_taskS | ||
2 | #define LITMUS_AUX_taskS | ||
3 | |||
4 | struct task_struct; | ||
5 | |||
6 | int make_aux_task_if_required(struct task_struct *t); | ||
7 | |||
8 | /* call on an aux task when it exits real-time */ | ||
9 | int exit_aux_task(struct task_struct *t); | ||
10 | |||
11 | /* call when an aux_owner becomes real-time */ | ||
12 | long enable_aux_task_owner(struct task_struct *t); | ||
13 | |||
14 | /* call when an aux_owner exits real-time */ | ||
15 | long disable_aux_task_owner(struct task_struct *t); | ||
16 | |||
17 | /* call when an aux_owner increases its priority */ | ||
18 | int aux_task_owner_increase_priority(struct task_struct *t); | ||
19 | |||
20 | /* call when an aux_owner decreases its priority */ | ||
21 | int aux_task_owner_decrease_priority(struct task_struct *t); | ||
22 | |||
23 | #endif | ||