changeset 588:78e10562b210

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 16 Jan 2020 14:44:03 +0900
parents 35b99bd03708
children a4cab67624f7
files src/parallel_execution/SingleLinkedQueue.cbc src/parallel_execution/plautogen/impl/RedBlackTree.h src/parallel_execution/test/stack_test.cbc
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/SingleLinkedQueue.cbc	Thu Jan 16 14:43:44 2020 +0900
+++ b/src/parallel_execution/SingleLinkedQueue.cbc	Thu Jan 16 14:44:03 2020 +0900
@@ -2,6 +2,7 @@
 #include <stdio.h>
 #interface "Queue.h"
 // use "Node.h"
+// use "Element.h"
 
 Queue* createSingleLinkedQueue(struct Context* context) {
     struct Queue* queue = new Queue();
--- a/src/parallel_execution/plautogen/impl/RedBlackTree.h	Thu Jan 16 14:43:44 2020 +0900
+++ b/src/parallel_execution/plautogen/impl/RedBlackTree.h	Thu Jan 16 14:44:03 2020 +0900
@@ -1,8 +1,8 @@
 typedef struct RedBlackTree <Type, Isa> impl Tree {
   struct Node* root;
-  struct Node* current // reading node of original tree;
-  struct Node* previous // parent of reading node of original tree;
-  struct Node* newNode // writing node of new tree;
+  struct Node* current; // reading node of original tree;
+  struct Node* previous; // parent of reading node of original tree;
+  struct Node* newNode; // writing node of new tree;
   struct Node* parent;
   struct Node* grandparent;
   struct Stack* nodeStack;
--- a/src/parallel_execution/test/stack_test.cbc	Thu Jan 16 14:43:44 2020 +0900
+++ b/src/parallel_execution/test/stack_test.cbc	Thu Jan 16 14:44:03 2020 +0900
@@ -1,6 +1,7 @@
 #include "../../context.h"
 #interface "Stack.h"
 #include <assert.h>
+// use "TaskManager.h"
 
 __code stackTest1(struct Stack* stack) {
     Node* node = new Node();