Created
February 22, 2019 07:06
-
-
Save drewp/edd51d38144f09844c1d9e527011fe49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import threadpool | |
| var events1: Channel[int] | |
| events1.send(1) | |
| proc main(): | |
| var events2: Channel[int] | |
| events2.send(2) | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment