diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-25 16:22:00 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-25 16:22:00 +0000 |
commit | 0a9c34763e02a963c31a75e127258b70d6ba3df1 (patch) | |
tree | 3105b3ebd8210fd919ddef583840c8d606e20152 | |
parent | 16989de9a41d90ae7b509f74d1f1b730522a3dd7 (diff) | |
download | chromium_src-0a9c34763e02a963c31a75e127258b70d6ba3df1.zip chromium_src-0a9c34763e02a963c31a75e127258b70d6ba3df1.tar.gz chromium_src-0a9c34763e02a963c31a75e127258b70d6ba3df1.tar.bz2 |
Updated comment in thread naming.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1308 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/platform_thread_posix.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/platform_thread_posix.cc b/base/platform_thread_posix.cc index 9d65264..760ce1c 100644 --- a/base/platform_thread_posix.cc +++ b/base/platform_thread_posix.cc @@ -54,7 +54,12 @@ void PlatformThread::Sleep(int duration_ms) { // static void PlatformThread::SetName(const char* name) { - // TODO(darin): implement me! + // The POSIX standard does not provide for naming threads, and neither Linux + // nor Mac OS X (our two POSIX targets) provide any non-portable way of doing + // it either. (Some BSDs provide pthread_set_name_np but that isn't much of a + // consolation prize.) + // TODO(darin): decide whether stuffing the name in TLS or other in-memory + // structure would be useful for debugging or not. } // static |