Don't Call GetDesktopWindow From DllMain

Robert Shearman rob at codeweavers.com
Fri Sep 16 14:48:00 CDT 2005


Changelog:
GetDesktopWindow can now potentially create a thread, so we shouldn't 
call this function from DllMain otherwise it is possible to cause a 
deadlock.

-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: threaddetach_fix.diff
Type: text/x-patch
Size: 607 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050916/8aa5bbfa/threaddetach_fix.diff


More information about the wine-patches mailing list