News for hackers. Stuff that matters.
Re:Go Concurrency by Evbn on Thursday March 28, 2013 @11:38AM (#5455448)
How are you tmusing close to synchronize channels? Close doesn't block.

It looks like a race condition, the workers might try to write their start messages after main closes the channel.

http://golang.org/ref/spec#Close

Re:Go Concurrency by jgrahamc on Thursday March 28, 2013 @11:44AM (#5455492)
Assuming you are talking about slide 7 I'm not trying to synchronize I'm just using the closing of the start channel as a signal to the goroutines that they can start their work. Clearly, it's not guaranteed that all the <- start's have failed before close() returns.