Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/CellTaskManagerImpl.cc @ 620:55ed910d13c2
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Nov 2009 02:05:33 +0900 |
parents | 0decff4e867b 4cfcac2367d5 |
children | 5b178db5988a |
comparison
equal
deleted
inserted
replaced
619:0decff4e867b | 620:55ed910d13c2 |
---|---|
219 */ | 219 */ |
220 | 220 |
221 //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id); | 221 //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id); |
222 speThreads->add_output_tasklist(command, alloc_info[1], alloc_size); | 222 speThreads->add_output_tasklist(command, alloc_info[1], alloc_size); |
223 | 223 |
224 speThreads->send_mail(id, 2, alloc_info); | 224 speThreads->send_mail(id, 2, (memaddr *)alloc_info); |
225 } else if (data > MY_SPE_NOP) { | 225 } else if (data > MY_SPE_NOP) { |
226 //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data); | 226 //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data); |
227 HTaskPtr task = (HTaskPtr)data; | 227 HTaskPtr task = (HTaskPtr)data; |
228 task->post_func(schedTaskManager, task->post_arg1, task->post_arg2); | 228 task->post_func(schedTaskManager, task->post_arg1, task->post_arg2); |
229 check_task_finish(task); | 229 check_task_finish(task); |
272 speTaskList[id] = speTaskList_bg[id]; | 272 speTaskList[id] = speTaskList_bg[id]; |
273 speTaskList_bg[id] = tmp; | 273 speTaskList_bg[id] = tmp; |
274 | 274 |
275 taskListImpl->clear_taskList(speTaskList_bg[id]); | 275 taskListImpl->clear_taskList(speTaskList_bg[id]); |
276 | 276 |
277 speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); | 277 //speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]); |
278 speThreads->send_mail(id, 1, (memaddr *)&speTaskList[id]); | |
278 flag_sendTaskList[id] = 0; | 279 flag_sendTaskList[id] = 0; |
279 } | 280 } |
280 | 281 |
281 | 282 |
282 void* | 283 void* |