changeset 712:df34d44aceca

add pop_and_push examples files
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 25 Aug 2020 19:46:57 +0900
parents 41d605d48780
children 843a94916d8a
files src/parallel_execution/examples/pop_and_push/StackTest2.h src/parallel_execution/examples/pop_and_push/StackTest2Impl.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/parallel_execution/examples/pop_and_push/StackTest2.h	Tue Aug 25 19:46:57 2020 +0900
@@ -0,0 +1,6 @@
+typedef struct StackTest2 <Type, Impl> {
+  __code insertTest1(Impl* stackTest2, struct Stack* stack, union Data* data1, __code next(...));
+  __code gotoOtherInterface(Impl* stackTest2, struct Stack* stack, union Data* data1, struct StackTest* stackTest, __code next(...));
+  __code next(...);
+} StackTest2;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/parallel_execution/examples/pop_and_push/StackTest2Impl.h	Tue Aug 25 19:46:57 2020 +0900
@@ -0,0 +1,3 @@
+typedef struct StackTest2Impl <Type, Isa> impl StackTest2 {
+  __code next(...);
+} StackTest2Impl;