diff src/parallel_execution/CPUWorker.cbc @ 375:ad44fdb11433

Fix compile error but not work
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 18 Jul 2017 16:13:11 +0900 (2017-07-18)
parents fb50cf8aa615
children 8915fce522b3
line wrap: on
line diff
--- a/src/parallel_execution/CPUWorker.cbc	Tue Jul 18 15:14:08 2017 +0900
+++ b/src/parallel_execution/CPUWorker.cbc	Tue Jul 18 16:13:11 2017 +0900
@@ -59,13 +59,13 @@
     goto meta(context, context->iterator->barrier);
 }
 
-__code iterateCommit1() {
+__code iterateCommit1(struct Context* task) {
     goto meta(context, C_taskReceiveWorker);
 }
 
-__code iterateCommit_stub(struct Context* context) {
+__code iterateCommit1_stub(struct Context* context) {
     struct Context* workerContext = context->worker->worker->CPUWorker.context;
-    goto iterateCommit(workerContext)
+    goto iterateCommit1(workerContext, context);
 }
 
 __code odgCommit(struct LoopCounter* loopCounter, struct Context* task) {