view include/TaskManager/CellScheduler.h @ 197:a57e7ab0c888 draft

remove old xml file, add new xml file
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 10:14:21 +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