Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/ppe/TaskQueueInfo.h @ 475:e083c4ff91c1
BufferManager removed.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 04 Oct 2009 11:29:50 +0900 |
parents | 09f33c51a204 |
children | 5bda98b0b56d |
comparison
equal
deleted
inserted
replaced
474:077845279741 | 475:e083c4ff91c1 |
---|---|
4 #include "TaskQueue.h" | 4 #include "TaskQueue.h" |
5 | 5 |
6 class TaskQueueInfo { | 6 class TaskQueueInfo { |
7 public: | 7 public: |
8 /* constructor */ | 8 /* constructor */ |
9 TaskQueueInfo(void); | 9 TaskQueueInfo(); |
10 ~TaskQueueInfo(void); | 10 ~TaskQueueInfo(); |
11 | 11 |
12 /* functions */ | 12 /* functions */ |
13 int init(int num); | 13 int init(int num); |
14 TaskQueuePtr create(TaskPtr task); | 14 TaskQueuePtr create(TaskPtr task); |
15 void free(TaskQueuePtr queue); | 15 void free(TaskQueuePtr queue); |
19 TaskQueuePtr taskQueuePool; | 19 TaskQueuePtr taskQueuePool; |
20 TaskQueuePtr freeTaskQueue; | 20 TaskQueuePtr freeTaskQueue; |
21 | 21 |
22 /* functions */ | 22 /* functions */ |
23 int extend_pool(int num); | 23 int extend_pool(int num); |
24 void destroy(void); | 24 void destroy(); |
25 }; | 25 }; |
26 | 26 |
27 #endif | 27 #endif |