annotate example/task_queue/main.h @ 1584:4966029eeb32 draft

Fix
author Masa <e085726@ie.u-ryukyu.ac.jp>
date Sun, 31 Mar 2013 20:29:36 +0900
parents efee36d2f84c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
961
efee36d2f84c fix QueueInfo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 496
diff changeset
1 #include "TaskQueue.h"
efee36d2f84c fix QueueInfo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 496
diff changeset
2 #include "QueueInfo.h"
492
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 #include "TaskManager.h"
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 #define MAX_QUEUE 4
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 typedef struct queues {
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 int i;
496
67fb962f58fa PS3 double linked TaskQueue worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 492
diff changeset
9 int j;
492
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 TaskManager *m;
961
efee36d2f84c fix QueueInfo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 496
diff changeset
11 QueueInfo<TaskQueue> *q[MAX_QUEUE];
492
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 } Queues, *QueuePtr;