• Jacek Caban's avatar
    user32: Introduced ThreadDetach driver entry point. · f0e7bd24
    Jacek Caban authored
    The problem was diagnosed by Ken Thomases.
    
    Currently drivers use DllMain(DLL_THREAD_DETACH) to release thread data.
    The problem is that DLLs (like native urlmon.dll, esp. reproducible in
    IE8) may still do user32 calls after driver detaches thread. Loader
    ensures that since user32.dll was loaded before dependent DLLs, user32's
    DllMain will be called in the right moment. Due to lazy loading of
    drivers, we have no control over them. We may use a new entry point to
    make sure that we detach user32 and driver at the same time.
    Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    f0e7bd24
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...