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

Unified Diff: src/core/SkSharedMutex.h

Issue 1213663004: Add annotations to SkSharedMutex. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace cleanup Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkSharedMutex.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkSharedMutex.h
diff --git a/src/core/SkSharedMutex.h b/src/core/SkSharedMutex.h
index a020f9e1be94b3fd5fc3b2625609069320b75602..a3535dca430aad26b26ab33dc5ef4018609e96df 100644
--- a/src/core/SkSharedMutex.h
+++ b/src/core/SkSharedMutex.h
@@ -11,7 +11,7 @@
#include "SkAtomics.h"
#include "SkSemaphore.h"
#include "SkTypes.h"
-
+
// This is a shared lock implementation similar to pthreads rwlocks. This implementation is
// cribbed from Preshing's article:
// http://preshing.com/20150316/semaphores-are-surprisingly-versatile/
@@ -21,7 +21,7 @@
class SkSharedMutex {
public:
SkSharedMutex();
-
+ ~SkSharedMutex();
// Acquire lock for exclusive use.
void acquire();
« no previous file with comments | « no previous file | src/core/SkSharedMutex.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698