Mercurial > hg > Members > kono > Cerium
changeset 484:8602bb323369
fix CellHTask initialize..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 05 Oct 2009 20:45:17 +0900 |
parents | 0b933bef0328 |
children | 9745d08e2f25 |
files | TaskManager/Cell/CellHTaskInfo.cc TaskManager/Cell/CellTaskManagerImpl.cc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/CellHTaskInfo.cc Mon Oct 05 20:29:28 2009 +0900 +++ b/TaskManager/Cell/CellHTaskInfo.cc Mon Oct 05 20:45:17 2009 +0900 @@ -20,10 +20,14 @@ q->next = q + 1; posix_memalign((void**)&q->inData, DEFAULT_ALIGNMENT, sizeof(ListData)); posix_memalign((void**)&q->outData, DEFAULT_ALIGNMENT, sizeof(ListData)); + q->wait_me = new TaskQueueInfo(); + q->wait_i = new TaskQueueInfo(); } q->next = freeHTask; posix_memalign((void**)&q->inData, DEFAULT_ALIGNMENT, sizeof(ListData)); posix_memalign((void**)&q->outData, DEFAULT_ALIGNMENT, sizeof(ListData)); + q->wait_me = new TaskQueueInfo(); + q->wait_i = new TaskQueueInfo(); freeHTask = htaskPool + 1;