Mercurial > hg > Gears > GearsAgda
diff src/parallel_execution/Executor.cbc @ 441:5a737c3df91c
Add AtomicReference Implements of Atomic Interface
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Nov 2017 04:28:36 +0900 |
parents | af0ec811b20e |
children |
line wrap: on
line diff
--- a/src/parallel_execution/Executor.cbc Mon Nov 06 19:04:41 2017 +0900 +++ b/src/parallel_execution/Executor.cbc Tue Nov 21 04:28:36 2017 +0900 @@ -1,5 +1,5 @@ -typedef struct Executor<Impl>{ - union Data* Executor; +typedef struct Executor<Type, Impl>{ + Type* Executor; struct Context* task; __code read(Impl* executor, struct Context* task, __code next(...)); __code exec(Impl* executor, struct Context* task, __code next(...));