[PD-dev] threads

Kjetil Matheussen k.s.matheussen at gmail.com
Fri Apr 12 13:16:16 CEST 2024


On Fri, Apr 12, 2024 at 12:54 PM Caoimhe &co <kumoyuki at gmail.com> wrote:
>
>
>
> On Fri, 12 Apr 2024 at 10:58, Christof Ressi <info at christofressi.com> wrote:
> >> So, just to be clear, are you actually saying that PD's audio
> >> internals *are* multi-threaded?
>
> > The audio thread is created implicitly by the audio backend. Typically,
> > there is only a single audio callback and thus only a single "audio thread"
> > per application.
>
> So that's one. where am I getting the other three threads from? Or is this a case of "it depends on the library?" Because I can live with that, I guess. It doesn't explain the problems that I am having with JACK, but it changes the scope of my inquiry, and that is enough.

If you're on Linux, try this:

gdb -p $(pidof pd)
thread apply all bt





More information about the Pd-dev mailing list