Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 1215503005: Implement shared locks in the style of pthread's rwlock. (Closed)

Created:
5 years, 5 months ago by herb_g
Modified:
5 years, 5 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Implement shared locks in the style of pthread's rwlock. BUG=skia: Committed: https://skia.googlesource.com/skia/+/c782b2a046763dc427fa47d4e33afca59c994d60

Patch Set 1 #

Total comments: 23

Patch Set 2 : Changes per mtklein. #

Patch Set 3 : Reformat test case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -0 lines) Patch
M gyp/core.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
A src/core/SkSharedMutex.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A src/core/SkSharedMutex.cpp View 1 1 chunk +117 lines, -0 lines 0 comments Download
A tests/SkSharedMutexTest.cpp View 1 2 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
herb_g
Please point out my Skia style problems. I'm trying to learn the style guide.
5 years, 5 months ago (2015-06-29 14:54:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215503005/1
5 years, 5 months ago (2015-06-29 14:54:49 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 5 months ago (2015-06-29 14:54:50 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/1791)
5 years, 5 months ago (2015-06-29 14:56:20 UTC) #7
mtklein
https://codereview.chromium.org/1215503005/diff/1/src/core/SkSharedLock.h File src/core/SkSharedLock.h (right): https://codereview.chromium.org/1215503005/diff/1/src/core/SkSharedLock.h#newcode21 src/core/SkSharedLock.h:21: class SkSharedLock { Let's implement this class in SkSharedLock.cpp ...
5 years, 5 months ago (2015-06-29 16:29:23 UTC) #8
herb_g
https://codereview.chromium.org/1215503005/diff/1/src/core/SkSharedLock.h File src/core/SkSharedLock.h (right): https://codereview.chromium.org/1215503005/diff/1/src/core/SkSharedLock.h#newcode21 src/core/SkSharedLock.h:21: class SkSharedLock { On 2015/06/29 16:29:22, mtklein wrote: > ...
5 years, 5 months ago (2015-06-29 19:26:31 UTC) #9
herb_g
https://codereview.chromium.org/1215503005/diff/1/tests/SkSharedLockTest.cpp File tests/SkSharedLockTest.cpp (right): https://codereview.chromium.org/1215503005/diff/1/tests/SkSharedLockTest.cpp#newcode30 tests/SkSharedLockTest.cpp:30: if (threadIndex % 4 != 0) { On 2015/06/29 ...
5 years, 5 months ago (2015-06-29 20:37:06 UTC) #10
mtklein
lgtm
5 years, 5 months ago (2015-06-29 20:39:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215503005/40001
5 years, 5 months ago (2015-06-29 20:39:56 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 20:46:57 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/c782b2a046763dc427fa47d4e33afca59c994d60

Powered by Google App Engine
This is Rietveld 408576698