[3/3] DDraw: Hold the dll lock in IDirectDraw methods

Stefan Dösinger stefandoesinger at gmx.at
Sun May 20 18:24:57 CDT 2007

WRT holding the lock in SetCooperativeLevel and SetDisplayMode, which may send 
signals to the window: I highly believe that windows keeps the lock held in 
those functions too. Should a ddraw app try to call ddraw method in a signal 
handler from another thread, then I am sure the fact that the signal is sent 
is wrong, rather than the fact that we hold the lock when sending the signal. 
Unfortunately I don't know how to proove that in a test case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-DDraw-Hold-the-dll-lock-in-IDirectDraw-methods.patch
Type: text/x-diff
Size: 17270 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070521/bb7ea67c/0003-DDraw-Hold-the-dll-lock-in-IDirectDraw-methods.bin

More information about the wine-patches mailing list