pipewire/pipewire-jack
Wim Taymans 0f9fd45a58 jack: rework locking
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
2021-06-17 10:46:04 +02:00
..
examples jack: add jack_get_video_image_size extension 2020-02-07 13:31:49 +01:00
jack Fix typos 2021-04-30 16:27:34 +00:00
src jack: rework locking 2021-06-17 10:46:04 +02:00
meson.build Install jack headers 2021-04-18 18:31:32 +00:00