Mercurial > hg > Gears > GearsAgda
annotate src/parallel_execution/Executor.cbc @ 454:77de0283ac92
Debug RedBlackTree.cbc.
author | ryokka |
---|---|
date | Mon, 11 Dec 2017 20:01:05 +0900 |
parents | 5a737c3df91c |
children |
rev | line source |
---|---|
441
5a737c3df91c
Add AtomicReference Implements of Atomic Interface
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents:
435
diff
changeset
|
1 typedef struct Executor<Type, Impl>{ |
5a737c3df91c
Add AtomicReference Implements of Atomic Interface
Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
parents:
435
diff
changeset
|
2 Type* Executor; |
435 | 3 struct Context* task; |
4 __code read(Impl* executor, struct Context* task, __code next(...)); | |
5 __code exec(Impl* executor, struct Context* task, __code next(...)); | |
6 __code write(Impl* executor, struct Context* task, __code next(...)); | |
7 } |