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

Unified Diff: third_party/WebKit/Source/wtf/ThreadingPthreads.cpp

Issue 2474303004: Remove mutex locks in SchemeRegistry (Closed)
Patch Set: tkent review Created 4 years, 1 month 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
Index: third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
diff --git a/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp b/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
index 89968862a34bec6ae148e64018b24f4eb18496de..17febc9e9036bcb15e286a8666c012a0920e21c3 100644
--- a/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
+++ b/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
@@ -240,6 +240,14 @@ bool isBeforeThreadCreated() {
void willCreateThread() {
s_threadCreated = true;
}
+#else
+bool isAtomicallyInitializedStaticMutexLockHeld() {
+ return false;
+}
+bool isBeforeThreadCreated() {
+ return false;
+}
+void willCreateThread() {}
#endif
} // namespace WTF

Powered by Google App Engine
This is Rietveld 408576698