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

Issue 5327059: code review 5327059: goprotobuf: Replace an instance of sync.Mutex with a sy... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by dsymonds
Modified:
14 years ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

goprotobuf: Replace an instance of sync.Mutex with a sync.RWMutex. We can't change the sync.Mutex in properties.go because it protects writes to the global stats var. Fixes issue 21.

Patch Set 1 #

Patch Set 2 : diff -r 35fc839ce665 https://goprotobuf.googlecode.com/hg #

Patch Set 3 : diff -r 35fc839ce665 https://goprotobuf.googlecode.com/hg #

Patch Set 4 : diff -r 35fc839ce665 https://goprotobuf.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M proto/lib.go View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 3
dsymonds
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://goprotobuf.googlecode.com/hg
14 years ago (2011-11-01 00:55:06 UTC) #1
r
LGTM
14 years ago (2011-11-01 01:26:33 UTC) #2
dsymonds
14 years ago (2011-11-01 01:52:06 UTC) #3
*** Submitted as
http://code.google.com/p/goprotobuf/source/detail?r=c89ca5f90da1 ***

goprotobuf: Replace an instance of sync.Mutex with a sync.RWMutex.

We can't change the sync.Mutex in properties.go
because it protects writes to the global stats var.

Fixes issue 21.

R=r
CC=golang-dev
http://codereview.appspot.com/5327059
Sign in to reply to this message.

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