[mythtv-commits] mythtv/master commit: 39a787d58 by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Fri Jun 17 20:48:31 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-06-17T13:46:06-07:00
Push Date: 2011/06/17 13:48:24 -0700
Repository: mythtv
Branch: master
New Revision: 39a787d5857b8965ab2bdfa7987459e96c07d535
Changeset: https://github.com/MythTV/mythtv/commit/39a787d58
Log:
Add tid to the debug log file
Instead of [pid], it will now show [pid/tid] where tid is the hidden pid of the
underlying thread. This matches the thread number shown in gdb backtraces:
e.g.
Thread 21 (Thread 29810):
In that example, 29810 would be the tid.
This will only work for Linux at this time as it uses the gettid system call,
which I have only found for Linux so far.
The tid is also logged in register/deregister debug log messages.
Modified:
mythtv/libs/libmythbase/mythlogging.cpp
More information about the mythtv-commits
mailing list