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

/* MIKI: Analytics */