Mercurial > hg > GearsTemplate
comparison src/parallel_execution/TaskManager.cbc @ 405:8915fce522b3
Fix shutdown TaskManager
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Sep 2017 16:46:31 +0900 |
parents | fc4fcd441700 |
children | 57c715bd6283 |
comparison
equal
deleted
inserted
replaced
404:c5cd9888bf2a | 405:8915fce522b3 |
---|---|
3 struct Context* context; | 3 struct Context* context; |
4 struct Context** tasks; | 4 struct Context** tasks; |
5 __code spawn(Impl* taskManager, struct Queue* queue, struct Context* task, __code next(...)); | 5 __code spawn(Impl* taskManager, struct Queue* queue, struct Context* task, __code next(...)); |
6 __code spawnTasks(Impl* taskManagerImpl, struct Context** tasks, __code next1(...), struct TaskManager* taskManager); | 6 __code spawnTasks(Impl* taskManagerImpl, struct Context** tasks, __code next1(...), struct TaskManager* taskManager); |
7 __code shutdown(Impl* taskManagerImpl, __code next(...), struct TaskManager* taskManager, struct Queue* queue); | 7 __code shutdown(Impl* taskManagerImpl, __code next(...), struct TaskManager* taskManager, struct Queue* queue); |
8 __code incrementTaskCount(Impl* taskManagerImpl, __code next(...)); | |
9 __code decrementTaskCount(Impl* taskManagerImpl, __code next(...)); | |
8 __code next(...); | 10 __code next(...); |
9 __code next1(...); | 11 __code next1(...); |
10 int worker; | 12 int worker; |
11 int cpu; | 13 int cpu; |
12 int gpu; | 14 int gpu; |