Mercurial > hg > Game > Cerium
view TaskManager/kernel/ppe/TaskListInfo.h @ 498:bce667ff20b9 draft
double linked HTaskInfo/HTask
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Oct 2009 11:46:41 +0900 |
parents | 4e0308d2ba73 |
children | 981aa2f89a80 |
line wrap: on
line source
#ifndef INCLUDED_TASK_LIST_INFO #define INCLUDED_TASK_LIST_INFO #include "types.h" #include "TaskList.h" class TaskListInfo { public: /* constructor */ TaskListInfo(void); virtual ~TaskListInfo(void); /* functions */ int init(int num); TaskListPtr create(void); void free(TaskListPtr list); static TaskListPtr append(TaskListPtr list, TaskListPtr q); virtual int extend_pool(int num); TaskListPtr clear_taskList(TaskListPtr list); protected: /* variables */ TaskListPtr taskListPool; TaskListPtr freeTaskList; /* functions */ void destroy(void); private: }; #endif