diff src/parallel_execution/context.h @ 92:851da1107223

implement twice
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 08:50:30 +0900
parents 1e074c3878c7
children 3e28ee215c0e
line wrap: on
line diff
--- a/src/parallel_execution/context.h	Tue Jan 26 07:46:26 2016 +0900
+++ b/src/parallel_execution/context.h	Tue Jan 26 08:50:30 2016 +0900
@@ -56,6 +56,7 @@
     PutQueue3,
     PutQueue4,
     GetQueue,
+    Twice,
     Exit,
 };
 
@@ -84,6 +85,7 @@
     void* heap;
     long heapLimit;
     pthread_t thread;
+    int thread_num;
     stack_ptr code_stack;
     stack_ptr node_stack;
     int dataNum;