I am reading "Data Race Detector" from Godoc. However, I'm confused by the example: Primitive unprotected variable <https://golang.org/doc/articles/race_detector.html#Primitive_unprotected_variable> displayed in the post. I don't know why this example could lead to data race. Any help will be appreciated.
-- 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.