diff src/parallel_execution/TaskManagerImpl.cbc @ 376:b46f38645587

Run oneDimIterator_test
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 18 Jul 2017 16:35:48 +0900
parents fb50cf8aa615
children 36964b9ac5fd
line wrap: on
line diff
--- a/src/parallel_execution/TaskManagerImpl.cbc	Tue Jul 18 16:13:11 2017 +0900
+++ b/src/parallel_execution/TaskManagerImpl.cbc	Tue Jul 18 16:35:48 2017 +0900
@@ -125,6 +125,7 @@
             iterator->iterator = (union Data*)task->iterator;
             iterator->task = task;
             iterator->next = next;
+            pthread_mutex_unlock(&taskManager->mutex);
             goto meta(context, task->iterator->exec);
         }
         goto meta(context, C_taskSend);