Add ProfilerRegisterThead() to PosixThread.
authorDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:54:40 +0000 (22:54 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:54:40 +0000 (22:54 +0000)
commitaf296954ea59369129b4129633e263fd65b503de
treeb70c053a513508b8b8708d37622c79260744d2fc
parentc89e4de50947b91b658a952da4671033e333c9df
Add ProfilerRegisterThead() to PosixThread.

Adds an #ifdef'd block that calls ProfilerRegisterThread() if
"REGISTER_THREAD_GOOGLE_PERFTOOLS" is set.  Apparently, this makes the
Google perftools CPU profiler work much better on x86-64.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666358 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/concurrency/PosixThreadFactory.cpp