diff include/TaskManager/TaskQueueInfo.h @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents 90523ccc4dff
children 7075842aa155
line wrap: on
line diff
--- a/include/TaskManager/TaskQueueInfo.h	Wed Nov 12 17:29:35 2008 +0900
+++ b/include/TaskManager/TaskQueueInfo.h	Wed Nov 12 17:39:33 2008 +0900
@@ -1,19 +1,10 @@
 #ifndef INCLUDED_TASK_QUEUE_INFO
 #define INCLUDED_TASK_QUEUE_INFO
 
-#ifndef INCLUDED_TASK
-#  include "task.h"
+#ifndef INCLUDED_TASK_QUEUE
+#  include "TaskQueue.h"
 #endif
 
-#ifndef INCLUDED_HTASK_INFO
-#  include "HTaskInfo.h"
-#endif
-
-typedef struct task_queue {
-    HTaskPtr task;
-    TaskQueuePtr next;
-} TaskQueue, *TaskQueuePtr;
-
 class TaskQueueInfo {
 public:
     /* constructor */
@@ -22,10 +13,9 @@
 
     /* functions */
     int init(int num);
-    TaskQueuePtr create(HTaskPtr task);
+    TaskQueuePtr create(TaskPtr task);
     void free(TaskQueuePtr queue);
-    static TaskQueuePtr append(TaskQueuePtr list, TaskQueuePtr q);
-
+    
 private:
     /* variables */
     TaskQueuePtr taskQueuePool;