let's say there is a variable named s
is shared by a two go routines, r1 and r2, r1(the only writer) write to s
periodically, while r2
read from it periodically. r1 started first and then r2.
if s
is not protected by any kind of locks(including channels), does r2 can see any random value which is not wrote by r1?
if that can happen? please tell me the reason, thanks!