Mercurial > hg > Papers > 2020 > soto-midterm
comparison src/taskManagerInterface.cbc @ 1:73127e0ab57c
(none)
author | soto@cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 08 Sep 2020 18:38:08 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b919985837a3 | 1:73127e0ab57c |
---|---|
1 typedef struct TaskManager<Impl>{ | |
2 union Data* taskManager; | |
3 struct Context* task; | |
4 struct Element* taskList; | |
5 __code spawn(Impl* taskManager, struct Context* task, __code next(...)); | |
6 __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __code next1(...)); | |
7 __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...)); | |
8 __code shutdown(Impl* taskManagerImpl, __code next(...)); | |
9 __code incrementTaskCount(Impl* taskManagerImpl, __code next(...)); | |
10 __code decrementTaskCount(Impl* taskManagerImpl, __code next(...)); | |
11 __code next(...); | |
12 __code next1(...); | |
13 } TaskManager; |