view TaskManager/kernel/schedule/SchedNop2Ready.h @ 1015:80b18af207c2

debug mail timing.
author yutaka@localhost.localdomain
date Fri, 05 Nov 2010 22:25:33 +0900
parents 9d228182911a
children
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);
    void write(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