Mercurial > hg > Gears > GearsAgda
diff src/parallel_execution/context.h @ 473:71b634a5ed65
Merge
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 28 Dec 2017 11:55:59 +0900 |
parents | b6437feb04ee |
children | b92898d3a630 |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Tue Dec 26 15:19:42 2017 +0900 +++ b/src/parallel_execution/context.h Thu Dec 28 11:55:59 2017 +0900 @@ -183,12 +183,14 @@ struct Queue* tasks; pthread_t thread; struct TaskManager* taskManager; + struct Context* context; } Worker; struct CPUWorker { pthread_mutex_t mutex; pthread_cond_t cond; struct Context* context; int id; + int loopCounter; } CPUWorker; #ifdef USE_CUDAWorker struct CUDAWorker {