On Tue, Aug 08, 2017 at 07:52:19PM -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 atomi
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
>