view 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
line wrap: on
line source

#ifndef INCLUDED_CELL_SCHEDULER
#define INCLUDED_CELL_SCHEDULER

#ifndef INCLUDED_BASE_H_
#  include "base.h"
#endif

#ifndef INCLUDED_SCHEDULER
#  include "Scheduler.h"
#endif

class CellScheduler : public Scheduler {
public:
    BASE_NEW_DELETE(CellScheduler);

    void init_impl(void);

    void *allocate(int size);
    void mainMem_alloc(int id, int size);
    void mainMem_wait(void);

private:
    int mainMemNum;
};

#endif