DDraw: Protect IDirectDrawImpl against race conditions

Alexandre Julliard julliard at winehq.org
Mon Dec 11 08:39:11 CST 2006


Stefan Dösinger <stefandoesinger at gmx.at> writes:

> Am Donnerstag 07 Dezember 2006 21:17 schrieben Sie:
>> This seems dangerous, changing the window size will potentially send
>> messages to other threads, so doing it inside the lock can cause
>> deadlocks.
> So I should unlock before I change the window size?

Probably, though I guess that depends on what the Windows behavior is
with windows and multiple threads.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list