TIDs only require 4 hexdigits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



TSIA
A+
--
Eric Pouech
Name:          tid4
ChangeLog:     only prints 4x hexdigits for tid (it's now a 16bit value)
License:       LGPL
GenDate:       2003/02/24 21:11:53 UTC
ModifiedFiles: scheduler/process.c windows/winproc.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/scheduler/process.c,v
retrieving revision 1.207
diff -u -u -r1.207 process.c
--- scheduler/process.c	24 Feb 2003 20:51:51 -0000	1.207
+++ scheduler/process.c	24 Feb 2003 21:02:01 -0000
@@ -554,7 +554,7 @@
     if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 );
 
     if (TRACE_ON(relay))
-        DPRINTF( "%08lx:Starting process %s (entryproc=%p)\n",
+        DPRINTF( "%04lx:Starting process %s (entryproc=%p)\n",
                  GetCurrentThreadId(), main_exe_name, entry );
     if (debugged) DbgBreakPoint();
     /* FIXME: should use _PEB as parameter for NT 3.5 programs !
Index: windows/winproc.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/windows/winproc.c,v
retrieving revision 1.100
diff -u -u -r1.100 winproc.c
--- windows/winproc.c	23 Jan 2003 23:07:38 -0000	1.100
+++ windows/winproc.c	23 Feb 2003 12:22:37 -0000
@@ -176,7 +176,7 @@
 
     hwnd = WIN_GetFullHandle( hwnd );
     if (TRACE_ON(relay))
-        DPRINTF( "%08lx:Call window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx)\n",
+        DPRINTF( "%04lx:Call window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx)\n",
                  GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam );
     /* To avoid any deadlocks, all the locks on the windows structures
        must be suspended before the control is passed to the application */
@@ -185,7 +185,7 @@
     WIN_RestoreWndsLock(iWndsLocks);
 
     if (TRACE_ON(relay))
-        DPRINTF( "%08lx:Ret  window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx) retval=%08lx\n",
+        DPRINTF( "%04lx:Ret  window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx) retval=%08lx\n",
                  GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam, retvalue );
     return retvalue;
 }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux