June 16, 2026
2:02 p.m.
On Tue Jun 16 18:40:02 2026 +0000, Rémi Bernon wrote:
I don't think it can be worse than locking four different CS. We're only locking all of them for addition/removal path; it is possible for the update thread to be in `read_controller_state()` for a controller while the game calls GetState for another controller, and using a global CS here would cause the game's GetState call to stall.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11158#note_143275