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

Issue 1947153002: Modernize SkMutex and SkSemaphore. (Closed)

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

Description

Modernize SkMutex and SkSemaphore. - use <atomic> - fuse SkMutex and SkBaseMutex - fuse SkSemaphore and SkBaseSemaphore Still TODO: - replace SK_DECLARE_STATIC_MUTEX(name) with static SkMutex name I just didn't want to bother fixing all that up until I know this CL sticks. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1947153002 No public API changes. TBR=reed@google.com Committed: https://skia.googlesource.com/skia/+/427c2819d9237d7d7729c59238036cfc73c072ea Committed: https://skia.googlesource.com/skia/+/42846ed43767740993f6eb1cdb62f208713304c9

Patch Set 1 #

Patch Set 2 : no need for mutable #

Patch Set 3 : this time no destructors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -121 lines) Patch
M include/ports/SkFontConfigInterface.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/private/SkMutex.h View 1 2 2 chunks +12 lines, -34 lines 0 comments Download
M include/private/SkSemaphore.h View 1 2 2 chunks +48 lines, -51 lines 0 comments Download
M src/core/SkSemaphore.cpp View 1 2 1 chunk +8 lines, -35 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947153002/20001
4 years, 7 months ago (2016-05-04 17:36:20 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 17:47:51 UTC) #6
mtklein_C
4 years, 7 months ago (2016-05-04 18:10:05 UTC) #8
herb_g
lgtm
4 years, 7 months ago (2016-05-04 18:29:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947153002/20001
4 years, 7 months ago (2016-05-04 18:30:31 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/427c2819d9237d7d7729c59238036cfc73c072ea
4 years, 7 months ago (2016-05-04 18:31:33 UTC) #14
sclittle
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1952073002/ by sclittle@chromium.org. ...
4 years, 7 months ago (2016-05-04 23:04:16 UTC) #15
sclittle
On 2016/05/04 23:04:16, sclittle wrote: > A revert of this CL (patchset #2 id:20001) has ...
4 years, 7 months ago (2016-05-04 23:52:28 UTC) #16
sclittle
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1945343003/ by sclittle@chromium.org. ...
4 years, 7 months ago (2016-05-05 00:40:17 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947153002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947153002/40001
4 years, 7 months ago (2016-05-05 17:08:05 UTC) #20
mtklein_C
Gonna try this again with global destructors removed. I think I've failed to find a ...
4 years, 7 months ago (2016-05-05 17:56:24 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947153002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947153002/40001
4 years, 7 months ago (2016-05-05 17:56:36 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 17:57:41 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/42846ed43767740993f6eb1cdb62f208713304c9

Powered by Google App Engine
This is Rietveld 408576698