diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-22 12:51:06 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-22 12:51:06 -0400 |
commit | 67a0a36345f0e2b6a9a4858a1ac3949f7da52e65 (patch) | |
tree | fb60d49429155f2899fefd2c646aaab4bc1e8f1f /src | |
parent | 96e576554fb76b6162adf7c8e96e3efa3dc8b256 (diff) |
Add rt_launch_edfwm launcher
As rtspin_edfwm rt_launch_edfwm reads each task information from a text
file (same format as rtspin_edfwm).
Diffstat (limited to 'src')
-rw-r--r-- | src/task.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 | ||
63 | int 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 |