From 78649b12f68ef30a234cc6b40dc051bc402dd265 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 20 Jan 2025 10:04:09 +0100 Subject: [PATCH] thread-loop: clarify some docs about locking --- src/pipewire/thread-loop.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pipewire/thread-loop.h b/src/pipewire/thread-loop.h index f1eb1910e..2734799df 100644 --- a/src/pipewire/thread-loop.h +++ b/src/pipewire/thread-loop.h @@ -61,6 +61,11 @@ extern "C" { * * All events and callbacks are called with the thread lock held. * + * An exception to this is for the data processing callbacks, which are + * explcitly marked as being emitted from the data realtime threads. One + * such callback is the \ref pw_stream::process() callback when the + * \ref PW_STREAM_FLAG_RT_PROCESS is set. + * */ /** \defgroup pw_thread_loop Thread Loop *