Mercurial > hg > Members > Moririn
view src/parallel_execution/TaskManager.cbc @ 269:5170539348ec
rename TaskManagerImpl.cbc
author | mir3636 |
---|---|
date | Sun, 29 Jan 2017 22:15:32 +0900 |
parents | d041069bc7fe |
children | 2c2e4e597eb0 |
line wrap: on
line source
typedef struct TaskMabager<Impl>{ union Data* taskManager; __code createTask(struct TaskManager* taskManager); __code spawn(Impl* taskManager, struct Queue* queue, struct Context* task, __code next(...)); __code shutdown(struct LoopCounter* loopCounter, struct TaskManager* taskManager, Impl* taskManagerImpl, struct Queue* queue, __code next(...)); __code next(...); __code task(...); struct Context* context; int worker; int cpu; int gpu; int io; int maxCPU; } TaskManager;