Mercurial > hg > Game > Cerium
view 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 source
#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