Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskListInfo.h @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | eacbcdb23986 |
children | 974cd68383b3 |
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); static int length(TaskListPtr list); protected: /* variables */ TaskListPtr taskListPool; TaskListPtr freeTaskList; /* functions */ void destroy(void); private: }; #endif