Changeset 9582 for trunk/src/kernel32/thread.cpp
- Timestamp:
- Jan 2, 2003, 12:50:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/thread.cpp
r8648 r9582 1 /* $Id: thread.cpp,v 1.4 6 2002-06-11 16:36:54sandervl Exp $ */1 /* $Id: thread.cpp,v 1.47 2003-01-02 11:50:46 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include "oslibdos.h" 34 34 #include <handlemanager.h> 35 #include <codepage.h> 35 36 36 37 #define DBG_LOCALLOG DBG_thread … … 101 102 //****************************************************************************** 102 103 #define MAX_CALLSTACK_SIZE 128 104 #ifdef DEBUG 105 static char *pszLastCaller = NULL; 106 #endif 103 107 //****************************************************************************** 104 108 void WIN32API dbg_ThreadPushCall(char *pszCaller) … … 112 116 return; 113 117 114 teb->o.odin.dbgCallDepth++;115 116 118 // add caller name to call stack trace 117 119 int iIndex = teb->o.odin.dbgCallDepth; … … 124 126 if (iIndex < MAX_CALLSTACK_SIZE) 125 127 teb->o.odin.arrstrCallStack[iIndex] = (PVOID)pszCaller; 128 129 teb->o.odin.dbgCallDepth++; 130 131 pszLastCaller = pszCaller; 126 132 #endif 127 133 } … … 305 311 winteb->o.odin.hab = OSLibWinInitialize(); 306 312 winteb->o.odin.hmq = OSLibWinQueryMsgQueue(winteb->o.odin.hab); 313 rc = OSLibWinSetCp(winteb->o.odin.hmq, GetDisplayCodepage()); 314 dprintf(("WinSetCP was %sOK", rc ? "" : "not ")); 315 307 316 dprintf(("Win32ThreadProc: hab %x hmq %x", winteb->o.odin.hab, winteb->o.odin.hmq)); 308 317 dprintf(("Stack top 0x%x, stack end 0x%x", winteb->stack_top, winteb->stack_low));
Note:
See TracChangeset
for help on using the changeset viewer.