3
|
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;
|