Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/schedule/SchedMail.cc @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 60aa3f241b10 |
children | d093d601fc14 |
line wrap: on
line source
#include "SchedMail.h" #include "SchedTaskList.h" #include "SchedExit.h" #include "error.h" SchedTaskBase* SchedMail::next(Scheduler *scheduler, SchedTaskBase *p) { params_addr = scheduler->mail_read(); __debug("[SchedMail:%s]\n", __FUNCTION__); if ((memaddr)params_addr == (memaddr)MY_SPE_COMMAND_EXIT) { return new SchedExit(); } else { return new SchedTaskList(params_addr, scheduler); } }