diff options
| author | JosJuice <josjuice@gmail.com> | 2016-10-15 13:57:56 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-10-15 15:28:15 +0200 |
| commit | e1f6ab5592157af348fb5ea7caa3added190037c (patch) | |
| tree | f774676eb0516c0086a163763fb9ad97b340025c /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | |
| parent | f1879cc35605e878e04786d5de77909a4d74f6b5 (diff) | |
DVDThread: Remove s_dvd_thread_done_working and fix race condition
s_dvd_thread_done_working makes the logic more complicated,
and degasus pointed out a race condition that can happen if
the CPU thread calls WaitForIdle right in between the DVD
thread executing done_working.Set() and done_working.Reset()
while there is work left to do. To avoid this, let's just get
rid of s_dvd_thread_done_working. It's a relic from the old
DVDThread design. Thanks to the last few commits, WaitUntilIdle
only gets called rarely (disc change and savestate), so it's
not a problem if WaitUntilIdle ends up being slower.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
0 files changed, 0 insertions, 0 deletions
