Mercurial > hg > GearsTemplate
comparison src/parallel_execution/context.h @ 217:c34e6aa10967
Fix DataGear access name
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 09 Jan 2017 01:18:13 +0900 |
parents | 7470b8382672 |
children | d8a59b727f65 |
comparison
equal
deleted
inserted
replaced
216:6578c5c274ba | 217:c34e6aa10967 |
---|---|
70 double time; | 70 double time; |
71 } Time; | 71 } Time; |
72 struct LoopCounter { | 72 struct LoopCounter { |
73 int i; | 73 int i; |
74 struct Tree* tree; | 74 struct Tree* tree; |
75 } loopCounter; | 75 } LoopCounter; |
76 struct TaskManager { | 76 struct TaskManager { |
77 int numWorker; | 77 int numWorker; |
78 enum Code spawn; | 78 enum Code spawn; |
79 enum Code shutdown; | 79 enum Code shutdown; |
80 enum Code deadLockDetected; | 80 enum Code deadLockDetected; |
187 } RedBlackTree; | 187 } RedBlackTree; |
188 struct RotateTree { | 188 struct RotateTree { |
189 enum Code next; | 189 enum Code next; |
190 struct RedBlackTree* traverse; | 190 struct RedBlackTree* traverse; |
191 struct Tree* tree; | 191 struct Tree* tree; |
192 } rotateTree; | 192 } RotateTree; |
193 struct Node { | 193 struct Node { |
194 int key; // comparable data segment | 194 int key; // comparable data segment |
195 union Data* value; | 195 union Data* value; |
196 struct Node* left; | 196 struct Node* left; |
197 struct Node* right; | 197 struct Node* right; |
198 // need to balancing | 198 // need to balancing |
199 enum Color { | 199 enum Color { |
200 Red, | 200 Red, |
201 Black, | 201 Black, |
202 } color; | 202 } color; |
203 } node; | 203 } Node; |
204 struct Allocate { | 204 struct Allocate { |
205 enum Code next; | 205 enum Code next; |
206 long size; | 206 long size; |
207 } allocate; | 207 } Allocate; |
208 struct OutPutDataSegments { | 208 struct OutPutDataSegments { |
209 union Data **data; | 209 union Data **data; |
210 } ods; | 210 } Ods; |
211 }; // union Data end | 211 }; // union Data end |
212 | 212 |
213 #include "c/typedefData.h" | 213 #include "c/typedefData.h" |
214 | |
215 union MetaData { | |
216 struct Queue waitMeTasks; | |
217 struct Queue waitI; | |
218 }; | |
219 #endif | 214 #endif |