view include/TaskManager/MainScheduler.h @ 310:364abe879376 draft

remove smanager
author e065746@localhost.localdomain
date Mon, 08 Jun 2009 20:31:29 +0900
parents 3fc86ddf5d1c
children
line wrap: on
line source

#ifndef INCLUDED_MAIN_SCHEDULER
#define INCLUDED_MAIN_SCHEDULER

#include "Scheduler.h"
#include "MailManager.h"

class MainScheduler : public Scheduler {
public:
    ~MainScheduler(void) {}

    void init_impl(void);
    void set_mailManager(MailManager *);
    void send_mailList(MailQueuePtr mail_list);
    MailQueuePtr recv_mailList(void);

    virtual void *allocate(int size);
    void mainMem_alloc(int id, int size);
};

#endif