view TaskManager/Cell/spe/CellScheduler.h @ 1007:18a548c337cb

add mail_queue
author yutaka@localhost.localdomain
date Thu, 28 Oct 2010 08:39:19 +0900
parents 586b4f825f24
children
line wrap: on
line source

#ifndef INCLUDED_CELL_SCHEDULER
#define INCLUDED_CELL_SCHEDULER

#include "base.h"
#include "Scheduler.h"

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);
    uint32 get_tag();

private:
    int mainMemNum;
} ;

#endif