summaryrefslogtreecommitdiffstats
path: root/base/threading/thread.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 10:27:17 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 10:27:17 +0000
commitab39dc873522a528d61532fe3ab98d0d012caaff (patch)
tree5c4d7eab1372eaca7d9c7a225403d901d43a26f7 /base/threading/thread.h
parent5ee546a74b7444e662f59dbf3bc253f5ff9803ce (diff)
downloadchromium_src-ab39dc873522a528d61532fe3ab98d0d012caaff.zip
chromium_src-ab39dc873522a528d61532fe3ab98d0d012caaff.tar.gz
chromium_src-ab39dc873522a528d61532fe3ab98d0d012caaff.tar.bz2
A couple comment updates
Add a comment to worker pool, as on first reading it I thought there was a bug with name going out of scope. + a minor fix the thread.h BUG=None TEST=None Review URL: http://codereview.chromium.org/8463004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/thread.h')
-rw-r--r--base/threading/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/thread.h b/base/threading/thread.h
index 535edd2..7ba3892 100644
--- a/base/threading/thread.h
+++ b/base/threading/thread.h
@@ -122,7 +122,7 @@ class BASE_EXPORT Thread : PlatformThread::Delegate {
return message_loop_->message_loop_proxy();
}
- // Set the name of this thread (for display in debugger too).
+ // Returns the name of this thread (for display in debugger too).
const std::string &thread_name() { return name_; }
// The native thread handle.