Adentures in Go
Playing with
go
[
view source
]
Monday, September 26, 2011
Simulate event with closing a channel
rog
had showed me
a nice way to synchronise several goroutines (something like an event) by closing a channel. Here's a code example:
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment