Ignore:
Timestamp:
Jul 26, 2002, 12:48:40 PM (23 years ago)
Author:
sandervl
Message:

added method to detach process from all dlls

File:
1 edited

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 $ */
    22
    33/*
     
    561561        dll = dll->getNext();
    562562    }
    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//******************************************************************************
     568void 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();
    564577}
    565578//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.