comparison src/interface/TaskManager.h @ 114:f3ebb813d0bf

add TaskManager.h
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Mon, 02 Dec 2019 11:25:51 +0900
parents
children 63a65e3a5340
comparison
equal deleted inserted replaced
113:ef44d384ad9d 114:f3ebb813d0bf
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;