view include/TaskManager/CellScheduler.h @ 195:4e66b3327c50 draft

fix
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Sun, 25 Jan 2009 17:44:17 +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