summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.cpp
diff options
context:
space:
mode:
authorFred Hornsey <fred@hornsey.us>2019-04-11 23:43:38 -0500
committerFred Hornsey <fred@hornsey.us>2019-04-11 23:43:38 -0500
commit14531f70716a70092d65052e3d3334f52f05c519 (patch)
tree5d567b9c2869e9abd8ace7f1fd8663b8588f50bc /ACE/ace/OS_NS_Thread.cpp
parente06e966e10b4edb27f9813ddffc34529abd4bb91 (diff)
downloadATCD-14531f70716a70092d65052e3d3334f52f05c519.tar.gz
Log_Msg: Shorten %t Output for non-Windows systems
On Linux systems that supports it, use gettid() to get a much smaller number for the thread id. This is guaranteed to be unique system-wide thread id where the previous thread id, at least for pthreads, is not. On everywhere else except Windows, since might to be an address like it was on Linux, so use hex output just to make it shorter.
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
0 files changed, 0 insertions, 0 deletions