Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/CellTaskManagerImpl.cc @ 617:4cfcac2367d5
bug fix
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 14 Nov 2009 22:10:31 +0900 |
parents | 1d4a8a86f26b |
children | 55ed910d13c2 |
comparison
equal
deleted
inserted
replaced
613:ff4d33ef8ab0 | 617:4cfcac2367d5 |
---|---|
215 */ | 215 */ |
216 | 216 |
217 //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id); | 217 //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id); |
218 speThreads->add_output_tasklist(command, alloc_info[1], alloc_size); | 218 speThreads->add_output_tasklist(command, alloc_info[1], alloc_size); |
219 | 219 |
220 speThreads->send_mail(id, 2, alloc_info); | 220 speThreads->send_mail(id, 2, (memaddr *)alloc_info); |
221 } else if (data > MY_SPE_NOP) { | 221 } else if (data > MY_SPE_NOP) { |
222 //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data); | 222 //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data); |
223 check_task_finish((HTaskPtr)data); | 223 check_task_finish((HTaskPtr)data); |
224 } | 224 } |
225 } | 225 } |
266 speTaskList[id] = speTaskList_bg[id]; | 266 speTaskList[id] = speTaskList_bg[id]; |
267 speTaskList_bg[id] = tmp; | 267 speTaskList_bg[id] = tmp; |
268 | 268 |
269 taskListImpl->clear_taskList(speTaskList_bg[id]); | 269 taskListImpl->clear_taskList(speTaskList_bg[id]); |
270 | 270 |
271 speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); | 271 //speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); |
272 speThreads->send_mail(id, 1, (memaddr *)&speTaskList[id]); | |
272 flag_sendTaskList[id] = 0; | 273 flag_sendTaskList[id] = 0; |
273 } | 274 } |
274 | 275 |
275 | 276 |
276 void* | 277 void* |