Mercurial > hg > Papers > 2022 > soto-sigos
view Paper/src/taskManagerInterface.cbc @ 14:ba98083f9853 default tip
FIX
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 May 2022 12:31:39 +0900 |
parents | 14a0e409d574 |
children |
line wrap: on
line source
typedef struct TaskManager<Impl>{ union Data* taskManager; struct Context* task; struct Element* taskList; __code spawn(Impl* taskManager, struct Context* task, __code next(...)); __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __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;