view TaskManager/kernel/schedule/SchedNop2Ready.h @ 1009:16afbf03e5d2 draft

not yet....
author yutaka@localhost.localdomain
date Thu, 28 Oct 2010 13:00:51 +0900
parents cbdfb900ef57
children 29355ae40e6c
line wrap: on
line source

#ifndef INCLUDED_SCHED_NOP2READY
#define INCLUDED_SCHED_NOP2READY

#include "base.h"
#include "Scheduler.h"
#include "SchedTaskBase.h"
#include "SchedNop.h"

#include "error.h"

class SchedNop2Ready : public SchedNop {
public:
    /* constructor */
    SchedNop2Ready(Scheduler*);

    BASE_NEW_DELETE(SchedNop2Ready);

    /* variables */
    Scheduler* scheduler;

    /* functions */
    void exec(void);
    SchedTaskBase* next(Scheduler *, SchedTaskBase *);

#if DEBUG
    void read(void)  { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
    void write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
#endif
};

#endif