Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipewire: Fix possible deadlock when opening a device
If the pipewire thread invokes output_callback() while we're still waiting inside PIPEWIRE_OpenDevice(), we will deadlock. The pipewire thread owns the loop lock and is blocked on the audio device lock, which cannot be released because pw_thread_loop_wait() needs to reacquire the loop lock before it can return and allow PIPEWIRE_OpenDevice() to complete and release the device lock.
- Loading branch information