wined3d: Call YieldProcessor() when spinning waiting for CS commands.
commitecdeab593bdb42c6c8854cdef9c59daba9ba6ce1
authorMatteo Bruni <mbruni@codeweavers.com>
Sun, 6 May 2018 01:14:21 +0000 (6 03:14 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 4 Jul 2023 13:37:26 +0000 (4 15:37 +0200)
treea9cfeaddebeab6958c2ecb22670e0e255b4a432e
parent30c3697017220cc22ccdda7a3d86e7f4956551b3
wined3d: Call YieldProcessor() when spinning waiting for CS commands.

Yielding to other threads might help to get new packets and (very
slightly) reduce contention on the queue head and tail pointers.
dlls/wined3d/cs.c