Interesting.  I hadn't heard this.  Do you happen to recall where you ran 
across it?

I did a fast (not comprehensive) look at about 10 files in Go\src\... in which 
I found "atomic.StoreUint".  None of them seemed to use any padding.

John

    John Souvestre - New Orleans LA


-----Original Message-----
From: golang-nuts@googlegroups.com [mailto:golang-nuts@googlegroups.com] On 
Behalf Of Dave Cheney
Sent: 2017 October 22, Sun 17:07
To: golang-nuts
Subject: RE: [go-nuts] will the following code always print two 1?

If that we�re the case then you wouldn�t need to paid an atomic.Store with an 
atomic.Load. But as I understand it, you do. 

-- 
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.

-- 
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.

Reply via email to