# HG changeset patch # User ichikitakahiro # Date 1624021221 -32400 # Node ID 6a9ad3da2dafaa85fc7631ba9489951133ce68fa # Parent edbd4495f08ffca304b3166680cb09f8ae525d69 tweak HelloWorld diff -r edbd4495f08f -r 6a9ad3da2daf src/parallel_execution/examples/helloWorld/HelloImpl.cbc --- a/src/parallel_execution/examples/helloWorld/HelloImpl.cbc Thu Jun 17 21:01:20 2021 +0900 +++ b/src/parallel_execution/examples/helloWorld/HelloImpl.cbc Fri Jun 18 22:00:21 2021 +0900 @@ -22,13 +22,14 @@ return hello; } __code h(struct HelloImpl* hello, __code next(...)) { - hello->string = "Hello, "; - printf("%s", hello->string); + hello->hString = "Hello, "; //createImpl部分では_implなのだが動く + printf("%s", hello->hString); goto w(hello, next); } __code w(struct HelloImpl* hello, __code next(...)) { - // printf("%s", hello_impl->wString); + hello->wString = "World.\n"; + printf("%s", hello->wString); goto next(...); }