aboutsummaryrefslogtreecommitdiffstats
path: root/bin/base_task.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-24 15:53:56 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-24 15:53:56 -0500
commitea71ba9e1275495edf9b03b7109fe290d959a47a (patch)
treefe5679ebeee00ce270c3335deb1e326a6dc6f3d2 /bin/base_task.c
parenta155ee1ccb51cf8b6746bcd44ab34f258c9802e0 (diff)
add multi-threaded example
Diffstat (limited to 'bin/base_task.c')
-rw-r--r--bin/base_task.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/base_task.c b/bin/base_task.c
index e5f50b1..067c088 100644
--- a/bin/base_task.c
+++ b/bin/base_task.c
@@ -1,12 +1,9 @@
1/* based_task.c -- A basic real-time task skeleton. 1/* based_task.c -- A basic real-time task skeleton.
2 * 2 *
3 * This (by itself useless) task demos how to setup LITMUS^RT real-time task. 3 * This (by itself useless) task demos how to setup a
4 * 4 * single-threaded LITMUS^RT real-time task.
5 * Compile:
6 *
7 */ 5 */
8 6
9
10/* First, we include standard headers. 7/* First, we include standard headers.
11 * Generally speaking, a LITMUS^RT real-time task can perform any 8 * Generally speaking, a LITMUS^RT real-time task can perform any
12 * system call, etc., but no real-time guarantees can be made if a 9 * system call, etc., but no real-time guarantees can be made if a
@@ -118,7 +115,7 @@ int main(int argc, char** argv)
118 115
119 116
120 /***** 117 /*****
121 * 7) Clean up and exit. 118 * 7) Clean up, maybe print results and stats, and exit.
122 */ 119 */
123 return 0; 120 return 0;
124} 121}