[PATCH 1/2] mciqtz: Dispatch messages while waiting on command completion.

Alexandre Julliard julliard at winehq.org
Wed Apr 27 23:10:09 CDT 2016


Andrew Eikum <aeikum at codeweavers.com> writes:

> Without this, we can hit a deadlock if the task thread tries to call a
> SendMessage on a window owned by the calling thread.
>
> Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
> ---
>  dlls/mciqtz32/mciqtz.c | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)

This breaks the tests here:

../../../tools/runtest -q -P wine -T ../../.. -M winmm.dll -p winmm_test.exe.so mci && touch mci.ok
mci.c:1362: Test failed: Expect message 0001 from open alias notify
mci.c:1375: Test failed: Expect message 0002 from play (superseded)
mci.c:1376: Test failed: Expect message 0001 from status
mci.c:1391: Test failed: Expect message 0004 from play (aborted by close)
Makefile:226: recipe for target 'mci.ok' failed
make: *** [mci.ok] Error 4

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list