[WINED3D] Avoid spinning in wined3d_cs_run. CORE-14534
authorThomas Faber <thomas.faber@reactos.org>
Sun, 19 Aug 2018 11:27:04 +0000 (13:27 +0200)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 19 Aug 2018 11:46:02 +0000 (13:46 +0200)
commitadfbefde2b237f757d741e0cf17197e51599d436
tree5f719a0362c14e510985d699132d5eba8c5c753f
parent9bffdcb6e7e6f6e1324886daa0ad6d3afc3b03c2
[WINED3D] Avoid spinning in wined3d_cs_run. CORE-14534

Spinning here is supposed to improve performance by avoiding scheduling
overhead, but because ReactOS's Win32 subsystem does not deal with this well,
it causes the system to freeze on ROS.
As a workaround, we disable spinning and jump directly to the wait.

It should become obvious when this starts actually causing performance issues
again and it's time to undo.
dll/directx/wine/wined3d/wined3d_private.h