Mercurial > hg > Game > Cerium
annotate example/task_queue/main.h @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | efee36d2f84c |
children |
rev | line source |
---|---|
961 | 1 #include "TaskQueue.h" |
2 #include "QueueInfo.h" | |
492 | 3 #include "TaskManager.h" |
4 | |
5 #define MAX_QUEUE 4 | |
6 | |
7 typedef struct queues { | |
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 | 10 TaskManager *m; |
961 | 11 QueueInfo<TaskQueue> *q[MAX_QUEUE]; |
492 | 12 } Queues, *QueuePtr; |