summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-06-25 17:31:35 +0200
committerLéo Lam <leo@leolam.fr>2019-06-26 17:55:51 +0200
commitcf60a9a7f77f78d4cd9de08cdbe93e0236794a5b (patch)
tree957bcb1d908ff5c44c7420ba288f0dd2496bcdbb /Source/Core/VideoCommon/ShaderCache.cpp
parent769ba43abf3afc0f65dfa610236636e80371d3ca (diff)
Use separate libusb contexts to avoid thread safety issues
Unfortunately, it appears that using libusb's synchronous transfer API from several threads causes nasty race conditions in event handling and can lead to deadlocks, despite the fact that libusb's synchronous API is documented to be perfectly fine to use from several threads (only the manual polling functionality is supposed to require special precautions). Since usbdk was the only real reason for using a single libusb context and since usbdk (currently) has so many issues with Dolphin, I think dropping support for it in order to fix other backends is acceptable.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions