diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-03 01:09:48 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-02-03 01:09:48 -0500 |
commit | 2d507260ee723f8302c5c97a9bda1cf00f30ec99 (patch) | |
tree | 033231fa56c53c67916cbc1f1a05d9560ef1d4ab /bin | |
parent | 526afdfb333ca29170fd210b08860ac2a4c141ed (diff) |
many changes
- use declarations from kernel
- get rid of stuipd system call macros
Diffstat (limited to 'bin')
-rw-r--r-- | bin/base_mt_task.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/base_mt_task.c b/bin/base_mt_task.c index 24f2070..a1e3731 100644 --- a/bin/base_mt_task.c +++ b/bin/base_mt_task.c | |||
@@ -121,7 +121,6 @@ int main(int argc, char** argv) | |||
121 | void* rt_thread(struct thread_context* ctx) | 121 | void* rt_thread(struct thread_context* ctx) |
122 | { | 122 | { |
123 | int do_exit; | 123 | int do_exit; |
124 | rt_param_t param; | ||
125 | 124 | ||
126 | /* Make presence visible. */ | 125 | /* Make presence visible. */ |
127 | printf("RT Thread %d active.\n", ctx->id); | 126 | printf("RT Thread %d active.\n", ctx->id); |
@@ -132,10 +131,6 @@ void* rt_thread(struct thread_context* ctx) | |||
132 | CALL( init_rt_thread() ); | 131 | CALL( init_rt_thread() ); |
133 | CALL( sporadic_global(EXEC_COST, PERIOD) ); | 132 | CALL( sporadic_global(EXEC_COST, PERIOD) ); |
134 | 133 | ||
135 | /* Just for fun display the real-time parameters of this thread. */ | ||
136 | CALL( get_rt_task_param(gettid(), ¶m) ); | ||
137 | show_rt_param(¶m); | ||
138 | |||
139 | /***** | 134 | /***** |
140 | * 2) Transition to real-time mode. | 135 | * 2) Transition to real-time mode. |
141 | */ | 136 | */ |