[pulseaudio-discuss] thread safe of idxset
Tanu Kaskinen
tanuk at iki.fi
Thu Feb 21 14:02:50 PST 2013
On Thu, 2013-02-21 at 11:47 -0800, Tong Wu wrote:
> Thank you very much. When you refer to the Main Thread, you mean the
> thread in PA daemon that runs its mainloop, right?
Well, all threads run some kind of an event loop. The main thread is the
only thread that uses pa_mainloop for the event loop implementation, but
that's not really relevant (other threads could use pa_mainloop too, in
theory). The main thread is the thread that runs the main() function and
manages the overall daemon state, while other threads ("IO threads")
handle audio processing and interfacing with the audio hardware.
--
Tanu
More information about the pulseaudio-discuss
mailing list