Mercurial > hg > Members > Moririn
diff src/parallel_execution/context.h @ 91:1e074c3878c7
modify tree
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 07:46:26 +0900 |
parents | 4b5bf5b40970 |
children | 851da1107223 |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Tue Jan 26 06:47:35 2016 +0900 +++ b/src/parallel_execution/context.h Tue Jan 26 07:46:26 2016 +0900 @@ -55,6 +55,7 @@ PutQueue2, PutQueue3, PutQueue4, + GetQueue, Exit, }; @@ -68,6 +69,7 @@ Worker, Allocate, Tree, + Traverse, Node, LoopCounter, Element, @@ -86,8 +88,6 @@ stack_ptr node_stack; int dataNum; union Data **data; - struct Queue* activeQueue; - struct Tree* tree; }; union Data { @@ -116,11 +116,12 @@ int* array; } array; struct Tree { - enum Code next; struct Node* root; + } tree; + struct Traverse { struct Node* current; int result; - } tree; + } traverse; struct Node { // need to tree enum Code next;