Changeset 17390


Ignore:
Timestamp:
Sep 26, 2001, 5:32:11 PM (24 years ago)
Author:
phaller
Message:

added calldepth tracing and message buffer

Location:
tags/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/include/win/thread.h

    r15702 r17390  
    127127              ULONG          newWindow;      // Pointer to window object of window that was just created
    128128              void*          pWsockData;     // Winsock data pointer (NULL if unused)
     129           
     130              // used for PM-to-Win32 message translation
     131              PVOID          pMessageBuffer; // MessageBuffer object
     132                                             // (here typeless due to include conflicts)
    129133              DWORD          lParam;         // MessageExtraInfo
    130134              WINDOWPOS      wp;             // Used by message translation for WM_WINDOWPOSCHANGED
     
    136140              MSG            msg;            // Used by message translation to store translated PM message (sent to win32 window proc in pmwindow.cpp)
    137141              MSG            msgWCHAR;       // Used to store extra WM_CHAR message generated by TranslateMessage
     142              BOOL           fWM_SETFOCUS;   // set during WM_SETFOCUS message processing
     143              HWND           hwndFocus;      // set during WM_SETFOCUS message processing
     144           
    138145              DWORD          pidDebuggee;    // process id of debuggee
    139146              DWORD          logfile;        // last FILE ptr used for logging (for exception handling in vfprintf)
     
    141148              DWORD          lcid;           // thread lcid
    142149              BOOL           fIgnoreMsgs;    // set to true if waiting in WaitForSingleObject
    143               BOOL           fWM_SETFOCUS;   // set during WM_SETFOCUS message processing
    144               HWND           hwndFocus;      // set during WM_SETFOCUS message processing
     150           
     151#ifdef DEBUG
     152              // used for call stack tracking
     153              ULONG          dbgCallDepth;   // is de-/incremended by ODINWRAP macros
     154#endif
    145155          } odin;
    146156#endif
  • TabularUnified tags/trunk/src/kernel32/wprocess.cpp

    r17028 r17390  
    1 /* $Id: wprocess.cpp,v 1.132 2001-08-06 16:01:11 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.133 2001-09-26 15:30:41 phaller Exp $ */
    22
    33/*
     
    184184    winteb->o.odin.pWsockData      = NULL;
    185185    winteb->o.odin.threadId        = GetCurrentThreadId();
     186    winteb->o.odin.dbgCallDepth    = 0;
     187    winteb->o.odin.pMessageBuffer  = NULL;
     188 
    186189    if(fMainThread) {
    187190         winteb->o.odin.hThread     = hThreadMain;
Note: See TracChangeset for help on using the changeset viewer.