urlmon: Fix race in protocol tests.
Rob Shearman
robertshearman at gmail.com
Sun Sep 28 10:38:05 CDT 2008
The value of *called is set asynchronously and so the callback
function could be called after IInternetProtocol_Read returns
E_PENDING. The value of *called is only predictable after the
WaitForSingleObject call returns. Therefore, remove the checks on
*called before this call.
---
dlls/urlmon/tests/protocol.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f4a18e374ec444a719e2e272183c1c1c0b5232b8.diff
Type: text/x-patch
Size: 1793 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080928/39ab9e6b/attachment.bin
More information about the wine-patches
mailing list