comparison TaskManager/kernel/schedule/SchedMail.cc @ 1214:44d9b08519e0 draft

sched task fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 22 Jul 2011 15:32:41 +0900
parents a49c02dffe6f
children 3f2230d79eba
comparison
equal deleted inserted replaced
1213:a49c02dffe6f 1214:44d9b08519e0
5 5
6 SchedTaskBase* 6 SchedTaskBase*
7 SchedMail::next(Scheduler *scheduler, SchedTaskBase *p) 7 SchedMail::next(Scheduler *scheduler, SchedTaskBase *p)
8 { 8 {
9 9
10 params_addr = connector->task_list_mail_read(); 10 connector = scheduler->connector;
11 params_addr = connector->task_list_mail_read();
11 12
12 __debug("[SchedMail:%s]\n", __FUNCTION__); 13 __debug("[SchedMail:%s]\n", __FUNCTION__);
13 14
14 if ((memaddr)params_addr == (memaddr)MY_SPE_COMMAND_EXIT) { 15 if ((memaddr)params_addr == (memaddr)MY_SPE_COMMAND_EXIT) {
15 return new SchedExit(); 16 return new SchedExit();