diff src/parallel_execution/worker.c @ 170:ee7134f3bef1

Fix
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 22 Nov 2016 10:36:45 +0900
parents ea7b11f3e717
children 8260b230dc2f
line wrap: on
line diff
--- a/src/parallel_execution/worker.c	Tue Nov 22 09:48:37 2016 +0900
+++ b/src/parallel_execution/worker.c	Tue Nov 22 10:36:45 2016 +0900
@@ -4,7 +4,7 @@
 #include "origin_cs.h"
 
 __code getTask1(struct Context* context, struct Queue* queue) {
-    queue->next = GetTask2;
+    queue->next = C_getTask2
     goto meta(context, queue->take);
 }
 
@@ -17,6 +17,7 @@
 
     struct Traverse *t = &context->data[D_Traverse]->Traverse;
     t->next = task->code;
+    context->next = C_getTask1
     goto meta(context, C_get);
 }