[mythtv-firehose] mythtv/mythtv-rec2 commit: ce359de0a by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Mon Jun 27 21:29:50 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-06-24T14:12:56-07:00
   Push Date:  2011/06/27 14:29:39 -0700
  Repository:  mythtv
      Branch:  mythtv-rec2
New Revision:  ce359de0aa6c8cf09f9ebe4d9d851ea2a4f53146
   Changeset:  https://github.com/MythTV/mythtv/commit/ce359de0a

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-firehose mailing list