Mercurial > hg > Game > Cerium
diff example/task_queue/main.h @ 961:efee36d2f84c draft
fix QueueInfo
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 04 Aug 2010 23:05:59 +0900 |
parents | 67fb962f58fa |
children |
line wrap: on
line diff
--- a/example/task_queue/main.h Wed Aug 04 19:08:33 2010 +0900 +++ b/example/task_queue/main.h Wed Aug 04 23:05:59 2010 +0900 @@ -1,4 +1,5 @@ -#include "TaskQueueInfo.h" +#include "TaskQueue.h" +#include "QueueInfo.h" #include "TaskManager.h" #define MAX_QUEUE 4 @@ -7,5 +8,5 @@ int i; int j; TaskManager *m; - TaskQueueInfo *q[MAX_QUEUE]; + QueueInfo<TaskQueue> *q[MAX_QUEUE]; } Queues, *QueuePtr;