mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-29 05:11:04 +02:00
Since these get proxied to a different thread, if we wait for that thread to finish while holding the lock, and the management thread _also_ requests the lock, we're screwed. WaitDevice never holds the lock by design, so just mark devices as failed and clean up or recover them in there.