• jar@chromium.org's avatar
    Provide windows notifictaion of thread termination · 356dc759
    jar@chromium.org authored
    This code should only have much of an impact on the XP
    platform, where thread teardown notification are not
    currently made.
    
    Provide an automatic fallback scan of the linker
    list of notifcation callbacks via DllMain.
    
    This fallback is ONLY used if there are no notifications
    coming via the linker list. This allows all existing
    code to continue working as it does today, and provides
    thread teardown notifcatino on XP even though we use
    the LoadLibrary call.
    
    It is a minimal change, suitable for pushing to other
    channels (beta? stable?).
    
    r=cpu
    BUG=103209
    Review URL: http://codereview.chromium.org/8836003
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113748 0039d316-1c4b-4281-b951-d872f2087c98
    356dc759
dllmain.cc 5.54 KB