- Timestamp:
- May 21, 2002, 4:42:40 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/thread.cpp
r8015 r8462 1 /* $Id: thread.cpp,v 1.4 3 2002-02-26 11:11:17sandervl Exp $ */1 /* $Id: thread.cpp,v 1.44 2002-05-21 14:42:40 sandervl Exp $ */ 2 2 3 3 /* … … 302 302 winteb->o.odin.hmq = OSLibWinQueryMsgQueue(winteb->o.odin.hab); 303 303 dprintf(("Win32ThreadProc: hab %x hmq %x", winteb->o.odin.hab, winteb->o.odin.hmq)); 304 #ifdef DEBUG 305 TEB *teb = GetThreadTEB(); 306 dprintf(("Stack top 0x%x, stack end 0x%x", teb->stack_top, teb->stack_low)); 307 #endif 304 308 305 309 //Note: The Win32 exception structure referenced by FS:[0] is the same -
trunk/src/kernel32/windlllx.cpp
r8459 r8462 1 /* $Id: windlllx.cpp,v 1.2 4 2002-05-20 14:22:37sandervl Exp $ */1 /* $Id: windlllx.cpp,v 1.25 2002-05-21 14:42:40 sandervl Exp $ */ 2 2 3 3 /* … … 145 145 offset += modsize + 1; 146 146 } 147 #ifdef HACK_NEVER_UNLOAD_LX_DLLS 148 //HACK ALERT!! 149 //This makes sure the LX dll never gets unloaded. 150 //Necessary since unloading doesn't work due to dependencies on dlls 151 //with exitlist handlers. 152 windll->AddRef(); 153 #endif 147 154 return windll->getInstanceHandle(); 148 155 … … 195 202 Subsystem); 196 203 dprintf(("Fake PE header %x for dll %s", hinstance, getModuleName())); 197 198 //HACK ALERT!!199 //This makes sure the LX dll never gets unloaded.200 //Necessary since unloading doesn't work due to dependencies on dlls201 //with exitlist handlers.202 referenced++;203 204 } 204 205 //****************************************************************************** -
trunk/src/kernel32/windlllx.h
r6471 r8462 1 /* $Id: windlllx.h,v 1. 6 2001-08-06 19:36:42sandervl Exp $ */1 /* $Id: windlllx.h,v 1.7 2002-05-21 14:42:40 sandervl Exp $ */ 2 2 3 3 /* … … 15 15 #include <windllbase.h> 16 16 #include <winimagelx.h> 17 18 #define HACK_NEVER_UNLOAD_LX_DLLS 17 19 18 20 class Win32LxDll : public Win32LxImage, public Win32DllBase
Note:
See TracChangeset
for help on using the changeset viewer.