Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskListInfo.h @ 499:eacbcdb23986
still fixing...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Oct 2009 15:42:00 +0900 |
parents | e083c4ff91c1 |
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