SHOW:
|
|
- or go back to the newest paste.
| 1 | input int values = 2; | |
| 2 | ||
| 3 | process a {
| |
| 4 | int x; | |
| 5 | int b,c,d,e,f,g,h; | |
| 6 | state a; | |
| 7 | init a; | |
| 8 | trans a->a {effect x = (x + 1)%values;};
| |
| 9 | } | |
| 10 | process b {
| |
| 11 | int x; | |
| 12 | int b,c,d,e,f,g,h; | |
| 13 | state a; | |
| 14 | init a; | |
| 15 | trans a->a {effect x = (x + 1)%values;};
| |
| 16 | } | |
| 17 | process c {
| |
| 18 | int x; | |
| 19 | int b,c,d,e,f,g,h; | |
| 20 | state a; | |
| 21 | init a; | |
| 22 | trans a->a {effect x = (x + 1)%values;};
| |
| 23 | } | |
| 24 | process d {
| |
| 25 | int x; | |
| 26 | int b,c,d,e,f,g,h; | |
| 27 | state a; | |
| 28 | init a; | |
| 29 | trans a->a {effect x = (x + 1)%values;};
| |
| 30 | } | |
| 31 | process e {
| |
| 32 | int x; | |
| 33 | int b,c,d,e,f,g,h; | |
| 34 | state a; | |
| 35 | init a; | |
| 36 | trans a->a {effect x = (x + 1)%values;};
| |
| 37 | } | |
| 38 | process f {
| |
| 39 | int x; | |
| 40 | int b,c,d,e,f,g,h; | |
| 41 | state a; | |
| 42 | init a; | |
| 43 | trans a->a {effect x = (x + 1)%values;};
| |
| 44 | } | |
| 45 | process g {
| |
| 46 | int x; | |
| 47 | int b,c,d,e,f,g,h; | |
| 48 | state a; | |
| 49 | init a; | |
| 50 | trans a->a {effect x = (x + 1)%values;};
| |
| 51 | } | |
| 52 | process h {
| |
| 53 | int x; | |
| 54 | int b,c,d,e,f,g,h; | |
| 55 | state a; | |
| 56 | init a; | |
| 57 | trans a->a {effect x = (x + 1)%values;};
| |
| 58 | } | |
| 59 | ||
| 60 | system async; |