Mercurial > hg > GearsTemplate
view src/parallel_execution/TaskManager.h @ 461:6b71cf5b1c22
Change Interface files from cbc to header
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 20 Dec 2017 17:54:15 +0900 |
parents | src/parallel_execution/TaskManager.cbc@57c715bd6283 |
children | 5859bed4edff |
line wrap: on
line source
typedef struct TaskManager<Impl>{ union Data* taskManager; struct Context* task; struct Context** tasks; __code spawn(Impl* taskManager, struct Context* task, __code next(...)); __code spawnTasks(Impl* taskManagerImpl, struct Context** tasks, __code next1(...)); __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...)); __code shutdown(Impl* taskManagerImpl, __code next(...)); __code incrementTaskCount(Impl* taskManagerImpl, __code next(...)); __code decrementTaskCount(Impl* taskManagerImpl, __code next(...)); __code next(...); __code next1(...); } TaskManager;