Mercurial > hg > CbC > old > device
changeset 606:1e29742ea9a6
*** empty log message ***
author | kono |
---|---|
date | Wed, 01 Feb 2006 07:12:03 +0900 |
parents | 1078c7e3bfb0 |
children | e055df7c1082 |
files | Idea |
diffstat | 1 files changed, 38 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Idea Mon Jan 30 18:36:47 2006 +0900 +++ b/Idea Wed Feb 01 07:12:03 2006 +0900 @@ -1675,3 +1675,41 @@ environment = interface frame の切替えを用意しないとね。 +Mon Jan 30 21:53:11 JST 2006 + + packet_put ..... fork + packdet_put(interface hoge); + packet_get ..... join + interface hoga = packdet_get(); + + ----> distributed CbC + + Synatx + code a() { } + + code a(a):b(b) {... } + -> + code a() { + if (b = packet_get() { + ..... + } else goto a(); + } + + code a() { + goto b(); + } + + code a() { + goto b():d()@dest; + } + -> + code a() { + packet_put(d(),dest); + goto b(); + } + + + + + +