Mercurial > hg > Members > kono > Cerium
annotate 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 |
rev | line source |
---|---|
46 | 1 #ifndef INCLUDED_TASK_LIST_INFO |
2 #define INCLUDED_TASK_LIST_INFO | |
3 | |
307 | 4 #include "types.h" |
5 #include "TaskList.h" | |
46 | 6 |
7 class TaskListInfo { | |
8 public: | |
9 /* constructor */ | |
10 TaskListInfo(void); | |
11 virtual ~TaskListInfo(void); | |
109 | 12 |
46 | 13 /* functions */ |
14 int init(int num); | |
15 TaskListPtr create(void); | |
16 void free(TaskListPtr list); | |
17 static TaskListPtr append(TaskListPtr list, TaskListPtr q); | |
59 | 18 virtual int extend_pool(int num); |
475
e083c4ff91c1
BufferManager removed.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
366
diff
changeset
|
19 TaskListPtr clear_taskList(TaskListPtr list); |
46 | 20 |
499 | 21 static int length(TaskListPtr list); |
22 | |
46 | 23 protected: |
24 /* variables */ | |
25 TaskListPtr taskListPool; | |
26 TaskListPtr freeTaskList; | |
27 | |
28 /* functions */ | |
29 void destroy(void); | |
59 | 30 |
31 private: | |
46 | 32 }; |
33 | |
34 #endif |