Mercurial > hg > Game > Cerium
annotate include/TaskManager/CellScheduler.h @ 292:2369f477ffbe draft
Document/Cerium_2009.mm
author | aaa |
---|---|
date | Fri, 05 Jun 2009 18:53:42 +0900 |
parents | b56fb6ac2fc4 |
children | 3fc86ddf5d1c |
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 |