Changeset 8923
- Timestamp:
 - Jul 26, 2002, 12:48:40 PM (23 years ago)
 - Location:
 - trunk/src/kernel32
 - Files:
 - 
      
- 2 edited
 
- 
          
  windllbase.cpp (modified) (2 diffs)
 - 
          
  windllbase.h (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/kernel32/windllbase.cpp
r8609 r8923 1 /* $Id: windllbase.cpp,v 1. 29 2002-06-09 10:48:50 sandervl Exp $ */1 /* $Id: windllbase.cpp,v 1.30 2002-07-26 10:48:40 sandervl Exp $ */ 2 2 3 3 /* … … 561 561 dll = dll->getNext(); 562 562 } 563 dlllistmutex.leave(); 563 dlllistmutex.leave(); 564 } 565 //****************************************************************************** 566 //Send DLL_PROCESS_DETACH message to all dlls for process that's about to end 567 //****************************************************************************** 568 void Win32DllBase::detachProcessFromAllDlls() 569 { 570 dlllistmutex.enter(); 571 Win32DllBase *dll = Win32DllBase::head; 572 while(dll) { 573 dll->detachProcess(); 574 dll = dll->getNext(); 575 } 576 dlllistmutex.leave(); 564 577 } 565 578 //******************************************************************************  - 
      
trunk/src/kernel32/windllbase.h
r8609 r8923 1 /* $Id: windllbase.h,v 1. 9 2002-06-09 10:48:50 sandervl Exp $ */1 /* $Id: windllbase.h,v 1.10 2002-07-26 10:48:40 sandervl Exp $ */ 2 2 3 3 /* … … 66 66 static void detachThreadFromAllDlls(); 67 67 68 //Send DLL_PROCESS_DETACH message to all dlls for process that's about to end 69 static void detachProcessFromAllDlls(); 70 68 71 //Setup TLS structure for all dlls for a new thread 69 72 static void tlsAttachThreadToAllDlls(); … … 78 81 79 82 //This counter is incremented when the dll has been loaded with LoadLibrary(Ex) 80 //(== not loaded on behalf of another dll or the main exe)83 //(== not loaded on behalf of another dll or the main exe) 81 84 void incDynamicLib(); 82 85 void decDynamicLib(); … … 91 94 //Only called for kernel32 92 95 void DisableUnload() { fDisableUnload = TRUE; }; 96 97 BOOL IsUnloaded() { return fUnloaded; }; 93 98 94 99 static void deleteDynamicLibs();  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  