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

Issue 816833005: Use error-checking mutexes in Debug builds. (Closed)

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

Description

Use error-checking mutexes in Debug builds. Upside: our deadlock detection is now thread-safe. Downside: static mutexes on Macs won't have deadlock detection until we drop 10.6. BUG=skia:3294 Committed: https://skia.googlesource.com/skia/+/8b50ac242bc3a41cf81d5d9bbc24d49b9f85d834

Patch Set 1 #

Patch Set 2 : Add assertHeld() back. #

Patch Set 3 : #include "SkTypes.h" for good measure #

Patch Set 4 : restore SkDEBUGCODE #

Patch Set 5 : fix up comment #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -42 lines) Patch
M src/ports/SkMutex_pthread.h View 1 2 3 4 1 chunk +38 lines, -42 lines 4 comments Download

Messages

Total messages: 15 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816833005/80001
5 years, 11 months ago (2015-01-09 14:00:21 UTC) #2
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 11 months ago (2015-01-09 14:00:22 UTC) #3
mtklein_C
5 years, 11 months ago (2015-01-09 14:12:00 UTC) #5
Jeffrey Yasskin
lgtm https://codereview.chromium.org/816833005/diff/80001/src/ports/SkMutex_pthread.h File src/ports/SkMutex_pthread.h (right): https://codereview.chromium.org/816833005/diff/80001/src/ports/SkMutex_pthread.h#newcode33 src/ports/SkMutex_pthread.h:33: SkASSERT(0 == rc); It would be nice for ...
5 years, 11 months ago (2015-01-09 16:31:55 UTC) #6
mtklein
https://codereview.chromium.org/816833005/diff/80001/src/ports/SkMutex_pthread.h File src/ports/SkMutex_pthread.h (right): https://codereview.chromium.org/816833005/diff/80001/src/ports/SkMutex_pthread.h#newcode33 src/ports/SkMutex_pthread.h:33: SkASSERT(0 == rc); On 2015/01/09 16:31:55, Jeffrey Yasskin wrote: ...
5 years, 11 months ago (2015-01-09 16:39:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/816833005/80001
5 years, 11 months ago (2015-01-09 17:00:21 UTC) #11
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 11 months ago (2015-01-09 17:00:22 UTC) #12
mtklein
lgtm
5 years, 11 months ago (2015-01-09 17:01:01 UTC) #13
borenet
LGTM?
5 years, 11 months ago (2015-01-09 17:02:24 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 17:02:47 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/8b50ac242bc3a41cf81d5d9bbc24d49b9f85d834

Powered by Google App Engine
This is Rietveld 408576698