annotate src/TaskManager.h @ 590:9146d6017f18 default tip

hg mv parallel_execution/* ..
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 16 Jan 2020 15:12:06 +0900
parents src/parallel_execution/TaskManager.h@5859bed4edff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
280
2c2e4e597eb0 generate no compile errors
mir3636
parents: 269
diff changeset
1 typedef struct TaskManager<Impl>{
269
5170539348ec rename TaskManagerImpl.cbc
mir3636
parents: 267
diff changeset
2 union Data* taskManager;
459
57c715bd6283 Change taskManager parameter from context to task
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 405
diff changeset
3 struct Context* task;
482
5859bed4edff Refactoring spawnTasks method
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 461
diff changeset
4 struct Element* taskList;
461
6b71cf5b1c22 Change Interface files from cbc to header
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 459
diff changeset
5 __code spawn(Impl* taskManager, struct Context* task, __code next(...));
482
5859bed4edff Refactoring spawnTasks method
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 461
diff changeset
6 __code spawnTasks(Impl* taskManagerImpl, struct Element* taskList, __code next1(...));
459
57c715bd6283 Change taskManager parameter from context to task
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 405
diff changeset
7 __code setWaitTask(Impl* taskManagerImpl, struct Context* task, __code next(...));
461
6b71cf5b1c22 Change Interface files from cbc to header
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 459
diff changeset
8 __code shutdown(Impl* taskManagerImpl, __code next(...));
405
8915fce522b3 Fix shutdown TaskManager
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 398
diff changeset
9 __code incrementTaskCount(Impl* taskManagerImpl, __code next(...));
8915fce522b3 Fix shutdown TaskManager
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 398
diff changeset
10 __code decrementTaskCount(Impl* taskManagerImpl, __code next(...));
269
5170539348ec rename TaskManagerImpl.cbc
mir3636
parents: 267
diff changeset
11 __code next(...);
374
fb50cf8aa615 Add Iterator Interface
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents: 353
diff changeset
12 __code next1(...);
269
5170539348ec rename TaskManagerImpl.cbc
mir3636
parents: 267
diff changeset
13 } TaskManager;