Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(319)

Issue 7001056: code review 7001056: sync/atomic: document that users must deal with 64-bit ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by rsc
Modified:
11 years, 3 months ago
Reviewers:
CC:
dvyukov, iant, minux1, golang-dev
Visibility:
Public.

Description

sync/atomic: document that users must deal with 64-bit alignment Update issue 599.

Patch Set 1 #

Patch Set 2 : diff -r 5f9e99e3f2ea https://code.google.com/p/go/ #

Patch Set 3 : diff -r 5f9e99e3f2ea https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r 11de5a00682e https://code.google.com/p/go/ #

Patch Set 5 : diff -r 11de5a00682e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/pkg/sync/atomic/doc.go View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15
rsc
Hello dvyukov, iant (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 4 months ago (2012-12-22 23:53:48 UTC) #1
iant
LGTM Can we provide any guarantees about int64 global variables?
11 years, 4 months ago (2012-12-23 06:59:47 UTC) #2
dvyukov
We can fix it in the library. It's possible to implement atomic operations on non-aligned ...
11 years, 4 months ago (2012-12-23 10:05:24 UTC) #3
minux1
https://codereview.appspot.com/7001056/diff/5001/src/pkg/sync/atomic/doc.go File src/pkg/sync/atomic/doc.go (right): https://codereview.appspot.com/7001056/diff/5001/src/pkg/sync/atomic/doc.go#newcode41 src/pkg/sync/atomic/doc.go:41: // BUG(rsc): On ARM, the 64-bit functions use instructions ...
11 years, 4 months ago (2012-12-23 13:14:18 UTC) #4
minux1
On 2012/12/23 10:05:24, dvyukov wrote: > We can fix it in the library. It's possible ...
11 years, 4 months ago (2012-12-23 13:21:58 UTC) #5
rsc
I'm happy to add global variables to the list of aligned things. We align all ...
11 years, 4 months ago (2012-12-23 19:21:24 UTC) #6
dvyukov
On Sun, Dec 23, 2012 at 11:21 PM, Russ Cox <rsc@golang.org> wrote: > I'm happy ...
11 years, 4 months ago (2012-12-24 08:07:00 UTC) #7
minux1
On Monday, December 24, 2012, Dmitry Vyukov wrote: > On Sun, Dec 23, 2012 at ...
11 years, 4 months ago (2012-12-24 08:21:04 UTC) #8
dvyukov
On Mon, Dec 24, 2012 at 12:21 PM, minux <minux.ma@gmail.com> wrote: >> > I'm happy ...
11 years, 4 months ago (2012-12-24 08:33:15 UTC) #9
minux1
On Monday, December 24, 2012, Dmitry Vyukov wrote: > > 64-bit atomic load/store are not ...
11 years, 4 months ago (2012-12-24 09:23:56 UTC) #10
dvyukov
On Mon, Dec 24, 2012 at 1:23 PM, minux <minux.ma@gmail.com> wrote: > > On Monday, ...
11 years, 4 months ago (2012-12-24 09:28:24 UTC) #11
minux1
On Monday, December 24, 2012, Dmitry Vyukov wrote: > On Mon, Dec 24, 2012 at ...
11 years, 4 months ago (2012-12-24 09:37:09 UTC) #12
dvyukov
On Mon, Dec 24, 2012 at 1:37 PM, minux <minux.ma@gmail.com> wrote: > > On Monday, ...
11 years, 4 months ago (2012-12-24 10:05:18 UTC) #13
rsc
I added the global variable note and removed the ARM 64-bit note. Will submit now. ...
11 years, 3 months ago (2013-01-02 20:41:48 UTC) #14
rsc
11 years, 3 months ago (2013-01-02 20:44:04 UTC) #15
*** Submitted as https://code.google.com/p/go/source/detail?r=b2bc77ca3160 ***

sync/atomic: document that users must deal with 64-bit alignment

Update issue 599.

R=dvyukov, iant, minux.ma
CC=golang-dev
https://codereview.appspot.com/7001056
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b