Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/TaskQueueInfo.h @ 366:09f33c51a204
rename include/TaskManager/* and add memory
author | aaa |
---|---|
date | Mon, 27 Jul 2009 15:51:18 +0900 |
parents | include/TaskManager/TaskQueueInfo.h@7075842aa155 |
children | e083c4ff91c1 |
line wrap: on
line source
#ifndef INCLUDED_TASK_QUEUE_INFO #define INCLUDED_TASK_QUEUE_INFO #include "TaskQueue.h" class TaskQueueInfo { public: /* constructor */ TaskQueueInfo(void); ~TaskQueueInfo(void); /* functions */ int init(int num); TaskQueuePtr create(TaskPtr task); void free(TaskQueuePtr queue); private: /* variables */ TaskQueuePtr taskQueuePool; TaskQueuePtr freeTaskQueue; /* functions */ int extend_pool(int num); void destroy(void); }; #endif