diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-08 23:26:34 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-08 23:26:34 +0000 |
commit | fae91273c06d59b20e6654a455c342d8fb72f946 (patch) | |
tree | 0de7a578afd145a5d8d4fdb7a8c2eaaea043282c /base/pe_image_unittest.cc | |
parent | 5439283ff95a6f7d8b9e6d86c0fd178b0238acaa (diff) | |
download | chromium_src-fae91273c06d59b20e6654a455c342d8fb72f946.zip chromium_src-fae91273c06d59b20e6654a455c342d8fb72f946.tar.gz chromium_src-fae91273c06d59b20e6654a455c342d8fb72f946.tar.bz2 |
posix: set thread names
There's a non-portable function for doing this: pthread_setname_np.
It's supported by OS X >= 10.6 and the Xcode debugger will show the thread
names if they're provided. On Linux, support has just recently been added
to glibc for the same function. Since OS coverage of the function is so
spotty, we look for the symbol at runtime; on Linux we fall back to another
implementation of the same functionality if the function isn't available.
Review URL: http://codereview.chromium.org/2774001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pe_image_unittest.cc')
0 files changed, 0 insertions, 0 deletions