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

Unified Diff: base/threading/platform_thread_win.cc

Issue 292873002: make debug mode ~20% faster on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win fix Created 6 years, 7 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: base/threading/platform_thread_win.cc
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
index a3984d62b5712d644d1277b2ff023494c4778626..80f353a8b46f3a7c8241cb2247ec252037ec2ca8 100644
--- a/base/threading/platform_thread_win.cc
+++ b/base/threading/platform_thread_win.cc
@@ -130,6 +130,11 @@ PlatformThreadId PlatformThread::CurrentId() {
}
// static
+PlatformThreadRef PlatformThread::CurrentRef() {
+ return PlatformThreadRef(GetCurrentThreadId());
+}
+
+// static
PlatformThreadHandle PlatformThread::CurrentHandle() {
NOTIMPLEMENTED(); // See OpenThread()
return PlatformThreadHandle();

Powered by Google App Engine
This is Rietveld 408576698