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

Issue 6529053: code review 6529053: race: sync changes (Closed)

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

Description

race: sync changes This is a part of a bigger change that adds data race detection feature: http://codereview.appspot.com/6456044

Patch Set 1 #

Patch Set 2 : diff -r 998714a0082d https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r 998714a0082d https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 998714a0082d https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 3

Patch Set 5 : diff -r d4627113a3e9 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 6 : diff -r 395c8950719a https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -4 lines) Patch
M src/pkg/go/build/deps_test.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/sync/cond.go View 1 6 chunks +18 lines, -0 lines 0 comments Download
M src/pkg/sync/mutex.go View 1 4 chunks +15 lines, -1 line 0 comments Download
A src/pkg/sync/race.go View 1 1 chunk +34 lines, -0 lines 0 comments Download
A src/pkg/sync/race0.go View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M src/pkg/sync/rwmutex.go View 1 3 8 chunks +35 lines, -1 line 0 comments Download
M src/pkg/sync/waitgroup.go View 1 5 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 12
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 7 months ago (2012-09-19 22:01:03 UTC) #1
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2012-09-19 22:01:27 UTC) #2
dvyukov
https://codereview.appspot.com/6529053/diff/3007/src/pkg/sync/rwmutex.go File src/pkg/sync/rwmutex.go (right): https://codereview.appspot.com/6529053/diff/3007/src/pkg/sync/rwmutex.go#newcode37 src/pkg/sync/rwmutex.go:37: if raceenabled { It seems for such simple instrumentation ...
11 years, 7 months ago (2012-09-19 22:05:04 UTC) #3
dvyukov
https://codereview.appspot.com/6529053/diff/3007/src/pkg/sync/rwmutex.go File src/pkg/sync/rwmutex.go (right): https://codereview.appspot.com/6529053/diff/3007/src/pkg/sync/rwmutex.go#newcode9 src/pkg/sync/rwmutex.go:9: "unsafe" Currently this breaks build because of the unexpected ...
11 years, 7 months ago (2012-09-19 22:11:59 UTC) #4
gobot
R=rsc (assigned by dsymonds)
11 years, 7 months ago (2012-09-20 06:47:38 UTC) #5
rsc
Code seems fine but I don't understand the part about the import cycle. http://codereview.appspot.com/6529053/diff/3007/src/pkg/sync/rwmutex.go File ...
11 years, 7 months ago (2012-09-24 15:13:40 UTC) #6
minux1
On Monday, September 24, 2012, rsc wrote: > > I don't understand what dependency we ...
11 years, 7 months ago (2012-09-24 15:37:38 UTC) #7
rsc
> I think he talks about go/build/deps_test.go > We don't allow sync to depend on ...
11 years, 7 months ago (2012-09-24 16:49:15 UTC) #8
dvyukov
Yes, it's go/build/deps_test. I will update the patch to allow the dep. On Mon, Sep ...
11 years, 7 months ago (2012-09-24 20:30:25 UTC) #9
dvyukov
On 2012/09/24 20:30:25, dvyukov wrote: > Yes, it's go/build/deps_test. > I will update the patch ...
11 years, 7 months ago (2012-09-25 03:47:55 UTC) #10
rsc
LGTM
11 years, 6 months ago (2012-10-01 20:18:33 UTC) #11
dvyukov
11 years, 6 months ago (2012-10-07 18:07:17 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=b1a9967aa474 ***

race: sync changes
This is a part of a bigger change that adds data race detection feature:
http://codereview.appspot.com/6456044

R=rsc, minux.ma
CC=gobot, golang-dev
http://codereview.appspot.com/6529053
Sign in to reply to this message.

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