view TaskManager/Fifo/MainScheduler.h @ 596:f1c2e11a2ef4 draft

add xdr_getpos
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 04 Nov 2009 22:52:06 +0900
parents 0251d06467de
children c56f6847fb87
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