aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/task.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/task.c b/src/task.c
index 4d237bd..2f825ee 100644
--- a/src/task.c
+++ b/src/task.c
@@ -60,6 +60,11 @@ int create_rt_task(rt_fn_t rt_prog, void *arg, int cpu, int wcet, int period) {
60 return __create_rt_task(rt_prog, arg, cpu, wcet, period, RT_CLASS_HARD); 60 return __create_rt_task(rt_prog, arg, cpu, wcet, period, RT_CLASS_HARD);
61} 61}
62 62
63int create_rt_task_semi(rt_fn_t rt_prog, void *arg, struct rt_task *params)
64{
65 return __launch_rt_task(rt_prog, arg,
66 (rt_setup_fn_t) set_rt_task_param, params);
67}
63 68
64#define SCHED_NORMAL 0 69#define SCHED_NORMAL 0
65#define SCHED_LITMUS 6 70#define SCHED_LITMUS 6