ole32:fix CoWaitForMultipleHandles cause RPC hang

Changhui Liu liuchanghui at linuxdeepin.com
Mon Dec 15 00:14:43 CST 2014


Sorry, the last mail patch has a compile error.
I have fixed it now.






------------------
Regards.
 

 
 
 
------------------ Original ------------------
From:  "Changhui Liu"<liuchanghui at linuxdeepin.com>;
Date:  Mon, Dec 15, 2014 12:34 PM
To:  "Sebastian Lackner"<sebastian at fds-team.de>; 
Cc:  "wine-devel"<wine-devel at winehq.org>; 
Subject:  Re: ole32:fix CoWaitForMultipleHandles cause RPC hang

 
Hi,
I got it. The CoWaitForMultipleHandles of Microsoft implement is this:
The message loop continue although has received WM_QUIT,
but just dispatch message who sent to the OleMainThreadWndClass Window.


I attached a latest patch and a verify function.
Run the test_CoWaitForMultipleHandlesDispatchMsg, We will only get the
message who send to cowait_test_class window .  


It also pass your PeekMessage test at:
https://github.com/wine-compholio/wine-staging/blob/master/patches/ole32-CoWaitForMultipleHandles/0001-ole32-tests-Add-additional-tests-for-CoWaitForMultip.patch


Please help me review it again when you are free.
Thank you.









------------------
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20141215/0e4049bd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ole32-fix-CoWaitForMultipleHandles-cause-RPC-hang.txt
Type: application/octet-stream
Size: 9368 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20141215/0e4049bd/attachment-0001.obj>


More information about the wine-devel mailing list