Mercurial > hg > Members > kono > Cerium
annotate include/TaskManager/CellScheduler.h @ 247:0098b5ff0d11
change example
author | aaa |
---|---|
date | Mon, 01 Jun 2009 19:33:09 +0900 |
parents | 72dcf908ec52 |
children | 7075842aa155 |
rev | line source |
---|---|
58 | 1 #ifndef INCLUDED_CELL_SCHEDULER |
2 #define INCLUDED_CELL_SCHEDULER | |
3 | |
109 | 4 #ifndef INCLUDED_BASE_H_ |
5 # include "base.h" | |
6 #endif | |
7 | |
58 | 8 #ifndef INCLUDED_SCHEDULER |
9 # include "Scheduler.h" | |
10 #endif | |
11 | |
12 class CellScheduler : public Scheduler { | |
13 public: | |
109 | 14 BASE_NEW_DELETE(CellScheduler); |
15 | |
58 | 16 void init_impl(void); |
109 | 17 |
18 void *allocate(int size); | |
19 void mainMem_alloc(int id, int size); | |
20 void mainMem_wait(void); | |
21 | |
22 private: | |
23 int mainMemNum; | |
58 | 24 }; |
25 | |
26 #endif |