diff options
author | glenda <glenda@cirno> | 2022-09-10 16:25:05 +0000 |
---|---|---|
committer | glenda <glenda@cirno> | 2022-09-10 16:25:05 +0000 |
commit | e2ebfbb7d19ff3b990eb51dc9843200053cbbf98 (patch) | |
tree | 986b0353a1179f803872b1578ebfe0acd83050bd /tests | |
parent | d07d4afcb8acff3757394f2f9822d014f31fecf0 (diff) |
Improve the session a lot
Diffstat (limited to 'tests')
-rw-r--r-- | tests/chain.apl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/chain.apl b/tests/chain.apl index af09a2b..9b9ba33 100644 --- a/tests/chain.apl +++ b/tests/chain.apl @@ -1,9 +1,9 @@ worker←{ - msg←{1 ⍵}recv ⍬ + (from msg)←{1 ⍵} RECV ⍬ ⍵≡⍬: ⎕←'DONE' ⎕←'Worker id ',(⍕⎕self),' (',(⎕self ⎕tasks 1),') got message: ',(⍕msg) ⎕←'Forwarding from ',(⍕⎕self), ' to ',⍕⍵ - msg send ⍵ + msg SEND ⍵ } last←worker&'worker'⍣10⊢⍬ -'Hello there' send last +'Hello there' SEND last |