Mercurial > hg > Game > Cerium
changeset 815:cbdfb900ef57 draft
move SchedNop2Ready.h
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 May 2010 08:18:23 +0900 |
parents | 634c9b0c7d57 |
children | f1449c590a56 |
files | TaskManager/Cell/SchedNop2Ready.h TaskManager/kernel/schedule/SchedNop2Ready.h |
diffstat | 2 files changed, 31 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/SchedNop2Ready.h Sun May 23 08:12:22 2010 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -#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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/kernel/schedule/SchedNop2Ready.h Sun May 23 08:18:23 2010 +0900 @@ -0,0 +1,31 @@ +#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