http://bugs.winehq.org/show_bug.cgi?id=10081
Ove Kaaven ovek@arcticnet.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ovek@arcticnet.no
--- Comment #10 from Ove Kaaven ovek@arcticnet.no 2010-05-16 11:17:25 --- In the latest CoH/CoV update, renderthread 1 has apparently been made default (probably the reason for #22561).
I see the hang is because the renderthread tries to do SetPixelFormat, but Wine's implementation of SetPixelFormat sends a Wine-specific message to the game window, which is owned by the main thread (not the render thread). In the meantime, the main thread is running a tight loop doing Sleep() calls until the render thread is done initializing, and does not process window messages.