comparison src/parallel_execution/context.h @ 122:73a679a85c04

node stack rewrite
author ikkun
date Wed, 28 Sep 2016 18:47:16 +0900
parents b224aa7b80a0
children 36ac17d37be4
comparison
equal deleted inserted replaced
121:f708b271a7b8 122:73a679a85c04
155 struct Node* root; 155 struct Node* root;
156 } tree; 156 } tree;
157 struct Traverse { 157 struct Traverse {
158 enum Code next; 158 enum Code next;
159 enum Code rotateNext; 159 enum Code rotateNext;
160 struct Node* current; 160 struct Node* current; // reading node of original tree
161 struct Node* newNode; // wrting node of new tree
161 int result; 162 int result;
162 } traverse; 163 } traverse;
163 struct Node { 164 struct Node {
164 // need to tree 165 // need to tree
165 enum Code next; 166 enum Code next;