Mercurial > hg > Game > Cerium
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/kernel/ppe/HTaskInfo.h Mon Jul 27 15:51:18 2009 +0900 @@ -0,0 +1,29 @@ +#ifndef INCLUDED_HTASK_INFO +#define INCLUDED_HTASK_INFO + +#include "HTask.h" + +class HTaskInfo { +public: + /* constructor */ + HTaskInfo(void); + virtual ~HTaskInfo(void); + + /* functions */ + int init(int num); + HTaskPtr create(int cmd); + void free(HTaskPtr q); + virtual int extend_pool(int num); + +protected: + /* variables */ + HTaskPtr htaskPool; + HTaskPtr freeHTask; + + /* functions */ + void destroy(void); + +private: +}; + +#endif