annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_HTASK_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_HTASK_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
3
307
3fc86ddf5d1c clean up include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
4 #include "HTask.h"
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
5
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
6 class HTaskInfo {
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
7 public:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
8 /* constructor */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
9 HTaskInfo(void);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
10 virtual ~HTaskInfo(void);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
11
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
12 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
13 int init(int num);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
14 HTaskPtr create(int cmd);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
15 void free(HTaskPtr q);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
16 virtual int extend_pool(int num);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
17
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
18 protected:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
19 /* variables */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
20 HTaskPtr htaskPool;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
21 HTaskPtr freeHTask;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
22
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
23 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
24 void destroy(void);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
25
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
26 private:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
27 };
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
28
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
29 #endif