Mercurial > hg > Game > Cerium
view include/TaskManager/HTaskInfo.h @ 46:f154d9d07a42
*** empty log message ***
author | gongo |
---|---|
date | Fri, 15 Feb 2008 13:09:43 +0900 |
parents | |
children | 90523ccc4dff |
line wrap: on
line source
#ifndef INCLUDED_HTASK_INFO #define INCLUDED_HTASK_INFO #ifndef INCLUDED_TASK # include "task.h" #endif #ifndef INCLUDED_TYPES # include "types.h" #endif class HTaskInfo { public: /* constructor */ HTaskInfo(void); ~HTaskInfo(void); /* functions */ int init(int num); HTaskPtr create(int cmd, int size, uint64 in_addr, uint64 out_addr); void free(HTaskPtr q); private: /* variables */ HTaskPtr htaskPool; HTaskPtr freeHTask; /* functions */ int extend_pool(int num); void destroy(void); }; #endif