Thank Kjetil, that bit of gdb help gave me everything I needed.

I really don't spend enough time with gdb to consider myself fluent with it because I get paid to use something entirely different.

On a side note, if there is interest for MIDI support through JACK, I may have a useful patch in the not-too-distant-future :)

- c/&cet

On Fri, 12 Apr 2024 at 12:16, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:
On Fri, Apr 12, 2024 at 12:54 PM Caoimhe &co <kumoyuki@gmail.com> wrote:
>
>
>
> On Fri, 12 Apr 2024 at 10:58, Christof Ressi <info@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


--
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt