Mercurial > hg > Members > Moririn
diff src/parallel_execution/examples/calc.cbc @ 355:45afe5d70956
Fix
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Jun 2017 16:20:56 +0900 |
parents | b07078bd1f2c |
children | 3aab69fc4c28 |
line wrap: on
line diff
--- a/src/parallel_execution/examples/calc.cbc Tue Jun 20 03:17:02 2017 +0900 +++ b/src/parallel_execution/examples/calc.cbc Thu Jun 22 16:20:56 2017 +0900 @@ -127,7 +127,7 @@ Integer* integer4 = &ALLOCATE_DATA_GEAR(context, Integer)->Integer; Integer* integer5 = &ALLOCATE_DATA_GEAR(context, Integer)->Integer; - // par goto add(integer2, integer3, integer1, __exit); + // par goto add(integer4, integer5, integer1, __exit); task = NEW(struct Context); initContext(task); task->taskManager = &taskManager->taskManager->TaskManager; @@ -160,7 +160,7 @@ //goto taskManager->setWaitTask(createTask1); taskManager->contexts = tasks; // goto crateTask1(); - taskManager->next = C_createTask1; + taskManager->next1 = C_createTask1; goto meta(context, taskManager->taskManager->TaskManager.spawnTasks); }