Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedNop2Ready.cc @ 1546:61164c687b29 draft
fix GpuScheduler flip
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Feb 2013 13:15:46 +0900 |
parents | 195e21a1b63c |
children | f82bb7393c4d |
line wrap: on
line source
//#include <stdio.h> #include "SchedNop2Ready.h" #include "SchedTaskList.h" #include "SchedMail.h" #include "error.h" SchedNop2Ready::SchedNop2Ready(Scheduler *cn) { scheduler = cn; connector = cn->connector; } void SchedNop2Ready::exec(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); } void SchedNop2Ready::write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); #ifdef MAIL_QUEUE connector->mail_write_finish_list((memaddr)MY_SPE_STATUS_READY); #else connector->mail_write((memaddr)MY_SPE_STATUS_READY); #endif } SchedTaskBase* SchedNop2Ready::next(Scheduler *scheduler,SchedTaskBase *p) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); return new SchedNop(); }