diff src/parallel_execution/context.h @ 166:06cfc1289361

fix
author mir3636
date Fri, 18 Nov 2016 19:34:44 +0900
parents 1115367f03a4
children 34562e63981f
line wrap: on
line diff
--- a/src/parallel_execution/context.h	Thu Nov 17 18:34:39 2016 +0000
+++ b/src/parallel_execution/context.h	Fri Nov 18 19:34:44 2016 +0900
@@ -151,6 +151,7 @@
     } Time;
     struct LoopCounter {
         int i;
+        struct Tree* tree;
     } loopCounter;
     struct Worker {
         int num;
@@ -171,14 +172,14 @@
         struct Queue* waitMe;
         struct Queue* waitI;
         int idsCount;
-    } task;
+    } Task;
     struct Queue {
         struct Element* first;
         struct Element* last;
         int count;
         union Data* queue;
         enum Code next;
-    } queue;
+    } Queue;
     // Stack Interface
     struct Stack {
         union Data* stack;
@@ -215,12 +216,13 @@
         int* array;
     } array;
     struct Tree {
-        union Data* tree
+        union Data* tree;
+        struct Node* node;
         enum Code put;
         enum Code get;
         enum Code remove;
         enum Code next;
-    } tree;
+    } Tree;
     struct Traverse {
         struct Node* root;
         struct Node* current; // reading node of original tree