annotate src/taskManagerInterface.cbc @ 11:a8bc8c6b48bd default tip

fix
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 15 Sep 2020 07:06:29 +0900
parents 73127e0ab57c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 typedef struct TaskManager<Impl>{
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2 union Data* taskManager;
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3 struct Context* task;
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
4 struct Element* taskList;
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
5 __code spawn(Impl* taskManager, struct Context* task, __code next(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6 __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __code next1(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7 __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
8 __code shutdown(Impl* taskManagerImpl, __code next(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
9 __code incrementTaskCount(Impl* taskManagerImpl, __code next(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
10 __code decrementTaskCount(Impl* taskManagerImpl, __code next(...));
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
11 __code next(...);
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
12 __code next1(...);
soto@cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
13 } TaskManager;