annotate include/TaskManager/CellScheduler.h @ 247:0098b5ff0d11

change example
author aaa
date Mon, 01 Jun 2009 19:33:09 +0900
parents 72dcf908ec52
children 7075842aa155
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_CELL_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_CELL_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
3
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
4 #ifndef INCLUDED_BASE_H_
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
5 # include "base.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
6 #endif
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
7
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
8 #ifndef INCLUDED_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
9 # include "Scheduler.h"
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
11
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
12 class CellScheduler : public Scheduler {
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
13 public:
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
14 BASE_NEW_DELETE(CellScheduler);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
15
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
16 void init_impl(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
17
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
18 void *allocate(int size);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
19 void mainMem_alloc(int id, int size);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
20 void mainMem_wait(void);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
21
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
22 private:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
23 int mainMemNum;
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
24 };
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
25
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
26 #endif