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

Unified Diff: base/threading/platform_thread.h

Issue 1845753006: Don't create redundant ThreadData for Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Early return in InitializeThreadContext Created 4 years, 8 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 | base/threading/platform_thread_android.cc » ('j') | base/threading/worker_pool_posix.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/platform_thread.h
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
index 72da93bf56d4fc984c35c5f49ef2a69fd475be00..7e03f91861e35d26feac43a434b1f88a4716e549 100644
--- a/base/threading/platform_thread.h
+++ b/base/threading/platform_thread.h
@@ -144,7 +144,7 @@ class BASE_EXPORT PlatformThread {
// Sets the thread name visible to debuggers/tools. This has no effect
// otherwise.
jar (doing other things) 2016/04/20 04:34:51 I suspect the code has changed, because it appears
Zhenyu Shan 2016/05/04 23:33:02 Done. This change is introduced in https://codere
- static void SetName(const std::string& name);
+ static void SetName(const std::string& name, bool is_worker_thread = false);
// Gets the thread name, if previously set by SetName.
static const char* GetName();
« no previous file with comments | « no previous file | base/threading/platform_thread_android.cc » ('j') | base/threading/worker_pool_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698