diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-30 19:46:53 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-08 00:23:03 +0100 |
commit | 63cd16d03c7f1362018cd06a7373ecafcd3383c0 (patch) | |
tree | e732db6b122e244318b0a95934b43326726c93ab /src/corelib/tools/qtimezoneprivate_mac.mm | |
parent | 982de3eccc3e544d075c635fad1a158b14c8ebac (diff) |
Add support for printing the real thread ID with QT_MESSAGE_PATTERN
%{threadid} should have been %{qthreadptr} but we forgot to make the
change for Qt 5.4. So do it now.
[ChangeLog][QtCore][Logging framework] %{threadid} now prints the real
thread ID. On Linux, OS X, iOS, FreeBSD and Windows, the value is unique
system-wide. On other systems, it will print something that may be
process-specific (the value of pthread_self(3)). To print the pointer
to QThread::current(), use %{qthreadptr}.
Change-Id: Ie383ff864a11966cf5d095b966a30ace65d34ee6
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_mac.mm')
0 files changed, 0 insertions, 0 deletions