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

Unified Diff: third_party/WebKit/Source/wtf/Threading.h

Issue 2627153004: Use TLS storage for thread ids in wtf/ThreadingPThreads (Closed)
Patch Set: const Created 3 years, 11 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
Index: third_party/WebKit/Source/wtf/Threading.h
diff --git a/third_party/WebKit/Source/wtf/Threading.h b/third_party/WebKit/Source/wtf/Threading.h
index 9bef5b38584a814de7f465fa1e6790d8b119230c..a845975bd75782c40a8aa5acf90759c9f09a1126 100644
--- a/third_party/WebKit/Source/wtf/Threading.h
+++ b/third_party/WebKit/Source/wtf/Threading.h
@@ -62,6 +62,10 @@ typedef uint32_t ThreadIdentifier;
typedef intptr_t ThreadIdentifier;
#endif
+namespace internal {
+ThreadIdentifier currentThreadSyscall();
+} // namespace internal
+
WTF_EXPORT ThreadIdentifier currentThread();
WTF_EXPORT void lockAtomicallyInitializedStaticMutex();
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/ThreadingPthreads.cpp » ('j') | third_party/WebKit/Source/wtf/WTFThreadData.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698