No. https://software.intel.com/en-us/blogs/2013/01/06/benign-data-races-wha t-could-possibly-go-wrong
On Tue, 2017-08-08 at 19:52 -0700, Cholerae Hu wrote: > Some of my colleagues think that, in some cases, such as > approximately > counting the sum total of requests, we don't need to know the > accurate > value, so we can let several goroutines to access one variable > without lock > or atomic operation to get the highest performance, and we can ignore > the > warning of race detector in these cases. Is that true? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.