Mercurial > hg > Game > Cerium
comparison TaskManager/kernel/ppe/HTaskInfo.h @ 366:0251d06467de draft
rename include/TaskManager/* and add memory
author | aaa |
---|---|
date | Mon, 27 Jul 2009 15:51:18 +0900 |
parents | include/TaskManager/HTaskInfo.h@3fc86ddf5d1c |
children | bce667ff20b9 |
comparison
equal
deleted
inserted
replaced
365:fafed60e2fca | 366:0251d06467de |
---|---|
1 #ifndef INCLUDED_HTASK_INFO | |
2 #define INCLUDED_HTASK_INFO | |
3 | |
4 #include "HTask.h" | |
5 | |
6 class HTaskInfo { | |
7 public: | |
8 /* constructor */ | |
9 HTaskInfo(void); | |
10 virtual ~HTaskInfo(void); | |
11 | |
12 /* functions */ | |
13 int init(int num); | |
14 HTaskPtr create(int cmd); | |
15 void free(HTaskPtr q); | |
16 virtual int extend_pool(int num); | |
17 | |
18 protected: | |
19 /* variables */ | |
20 HTaskPtr htaskPool; | |
21 HTaskPtr freeHTask; | |
22 | |
23 /* functions */ | |
24 void destroy(void); | |
25 | |
26 private: | |
27 }; | |
28 | |
29 #endif |