libwine: Print thread id by default in all traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ab9c5625ec
commit
ec14c220d2
@ -34,7 +34,6 @@
|
|||||||
#include "wine/library.h"
|
#include "wine/library.h"
|
||||||
|
|
||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||||
WINE_DECLARE_DEBUG_CHANNEL(tid);
|
|
||||||
WINE_DECLARE_DEBUG_CHANNEL(pid);
|
WINE_DECLARE_DEBUG_CHANNEL(pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -410,7 +409,6 @@ static int default_dbg_vlog( enum __wine_debug_class cls, struct __wine_debug_ch
|
|||||||
#if defined(__MINGW32__) || defined(_MSC_VER)
|
#if defined(__MINGW32__) || defined(_MSC_VER)
|
||||||
if (TRACE_ON(pid))
|
if (TRACE_ON(pid))
|
||||||
ret += wine_dbg_printf( "%04x:", GetCurrentProcessId() );
|
ret += wine_dbg_printf( "%04x:", GetCurrentProcessId() );
|
||||||
if (TRACE_ON(tid))
|
|
||||||
ret += wine_dbg_printf( "%04x:", GetCurrentThreadId() );
|
ret += wine_dbg_printf( "%04x:", GetCurrentThreadId() );
|
||||||
#endif
|
#endif
|
||||||
if (cls < sizeof(debug_classes)/sizeof(debug_classes[0]))
|
if (cls < sizeof(debug_classes)/sizeof(debug_classes[0]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user