mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Ensure all callbacks are called from the thread_loop and release the thread lock before calling the callback. Introduce a new rt_lock that is taken while the callbacks are called. Only call the process_callback when we can acquire the rt_lock in the data thread. This ensures the process callback is never called concurrently with any other callback. Give a warning when we try to call do_sync from the thread_loop itself. We would deadlock because the thread that is supposed to do the sync operation would be blocked in wait(). Fixes #1313 |
||
|---|---|---|
| .. | ||
| examples | ||
| jack | ||
| src | ||
| meson.build | ||