annotate src/interface/TaskManager.h @ 125:f103beea19f4

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 03 Dec 2019 09:32:33 +0900
parents f3ebb813d0bf
children 63a65e3a5340
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
114
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct TaskManager<Impl>{
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 union Data* taskManager;
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 struct Context* task;
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 struct Element* taskList;
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 __code spawn(Impl* taskManager, struct Context* task, __code next(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __code next1(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 __code shutdown(Impl* taskManagerImpl, __code next(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 __code incrementTaskCount(Impl* taskManagerImpl, __code next(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 __code decrementTaskCount(Impl* taskManagerImpl, __code next(...));
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 __code next(...);
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 __code next1(...);
f3ebb813d0bf add TaskManager.h
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 } TaskManager;