Mercurial > hg > GearsTemplate
diff src/parallel_execution/context.h @ 218:d8a59b727f65
Fix spawnTaskManager
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 09 Jan 2017 05:23:20 +0900 |
parents | c34e6aa10967 |
children | 77faa28128b4 |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Mon Jan 09 01:18:13 2017 +0900 +++ b/src/parallel_execution/context.h Mon Jan 09 05:23:20 2017 +0900 @@ -74,11 +74,13 @@ struct Tree* tree; } LoopCounter; struct TaskManager { + union Data* taskManager; int numWorker; enum Code spawn; enum Code shutdown; enum Code deadLockDetected; enum Code next; + struct Task* task; struct Worker* workers; } TaskManager; struct TaskManagerImpl {