Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedTaskList.h @ 366:0251d06467de draft
rename include/TaskManager/* and add memory
author | aaa |
---|---|
date | Mon, 27 Jul 2009 15:51:18 +0900 |
parents | include/TaskManager/SchedTaskList.h@5b995810b86a |
children | 92b0d490e839 |
line wrap: on
line source
#ifndef INCLUDED_SCHED_TASKLIST #define INCLUDED_SCHED_TASKLIST #include "base.h" #include "Scheduler.h" #include "SchedTaskBase.h" #include "error.h" class SchedTaskList : public SchedTaskBase { public: /* constructor */ SchedTaskList(unsigned int addr, Scheduler *sched); BASE_NEW_DELETE(SchedTaskList); /* variables */ unsigned int params_addr; TaskListPtr list; Scheduler *scheduler; int flag_renewTaskList; /* functions */ SchedTaskBase* next(Scheduler *, SchedTaskBase *); /* override functions */ void read(void); #ifdef DEBUG void exec(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); } void write(void) { __debug("[SchedTaskList:%s]\n", __FUNCTION__); } #endif }; const int SCHED_TASKLIST_NORMAL = 0; const int SCHED_TASKLIST_RENEW = 1; extern SchedTaskList* createSchedTaskList(uint32, Scheduler*, int); #endif