Skip to content

Commit

Permalink
refine CSP doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chengduoZH committed Feb 6, 2018
1 parent c8ba6d5 commit a45688b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/design/csp.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ ch = fluid.make_channel(dtype=INT, buffer_size)
# Now write three elements to the channel
with fluid.while(steps=buffer_size):
fluid.send(ch, step)
fluid.close_channel(ch)


fluid.close_channel(ch)

with fluid.while(steps=buffer_size):
fluid.print(fluid.recv(ch))
```
Expand Down

0 comments on commit a45688b

Please sign in to comment.