3 ms·
The race detector is great for such issues. But first and foremost, people ought to read the very enlightening presentations about Go's concurrency primitives a
by lazyjones 13y ago
The race detector is great for such issues. But first and foremost, people ought to read the very enlightening presentations about Go's concurrency primitives and conventions:
http://talks.golang.org/2012/concurrency.slide#1 http://talks.golang.org/2012/concurrency.slide#1
http://talks.golang.org/2013/advconc.slide#1 http://talks.golang.org/2013/advconc.slide#1
- kyrra 13y agoFor reference, here's an article explaining the race detector[0]. [0] http://golang.org/doc/articles/race_detector.html http://golang.org/doc/articles/race_detector.html