Skip to content

Instantly share code, notes, and snippets.

Calder Coalson calder

Block or report user

Report or block calder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:7713efed7b4d5669e3bd
proc producer(queue: ptr TChannel[int]) =
for i in 0..10:
queue.send(msg=i)
var queue: TChannel[int]
open(queue)
spawn producer(queue)
sync()
You can’t perform that action at this time.