Mercurial > hg > Members > kono > Cerium
comparison example/task_queue/main.cc @ 818:19c6cdeb23d6
too few template-parameter-lists
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 May 2010 10:55:25 +0900 |
parents | 60aa3f241b10 |
children | 02f1a707ee82 |
comparison
equal
deleted
inserted
replaced
817:4e8fc627ed33 | 818:19c6cdeb23d6 |
---|---|
8 extern void task_init(void); | 8 extern void task_init(void); |
9 | 9 |
10 static int count = 1; | 10 static int count = 1; |
11 | 11 |
12 extern TaskManager *manager; | 12 extern TaskManager *manager; |
13 | |
14 extern void queueInfoTest(int count); | |
15 | |
13 | 16 |
14 const char *usr_help_str = "Usage: ./hello [-cpu spe_num] [-count N]\n\ | 17 const char *usr_help_str = "Usage: ./hello [-cpu spe_num] [-count N]\n\ |
15 -cpu Number of SPE (default 1) \n\ | 18 -cpu Number of SPE (default 1) \n\ |
16 -count Number of task is print \"Hello, World!!\""; | 19 -count Number of task is print \"Hello, World!!\""; |
17 | 20 |
106 | 109 |
107 // Task Register | 110 // Task Register |
108 // ppe/task_init.cc | 111 // ppe/task_init.cc |
109 task_init(); | 112 task_init(); |
110 | 113 |
114 queueInfoTest(count); | |
111 hello_init(manager); | 115 hello_init(manager); |
112 | 116 |
113 return 0; | 117 return 0; |
114 } | 118 } |