[PATCH 1/2] dinput: Use PostMessage instead of SendMessage. Remove message window.

Vitaliy Margolen wine-patches at kievinfo.com
Sun Jul 15 11:38:05 CDT 2007


Use PostMessage instead of SendMessage in check_dinput_hooks. This
prevents a deadlock, during un-acquire. It should be fine as we don't
have to react immediately to acquire / unacquire.

And since thread's message queue is enough for PostMessage remove message
window.

---
 dlls/dinput/dinput_main.c |   99 ++++++++++++++++-----------------------------
 1 files changed, 35 insertions(+), 64 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9791d15ed846df82c2cb6f74e88602a247eb7470.diff
Type: text/x-patch
Size: 5238 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070715/c20c3b50/9791d15ed846df82c2cb6f74e88602a247eb7470.bin


More information about the wine-patches mailing list