[linux-audio-dev] Jack Zombified??
Jack O'Quin
joq at io.com
Sun Apr 27 23:50:00 UTC 2003
Nick Tsocanos <nicktsocanos at charter.net> writes:
> >
> > to avoid this, your program needs to ensure that it meets the
> > requirement of being real-time safe. see the comments in jack.h
> > accompanying the jack_set_process_callback() function.
>
> Gracias, I found the issue. I had added a pthread_mutex_lock into it
> recently inside the callback function. This will be tricky to fix it and
> not use a mutex, but that is most likely the problem.
The problem, of course, is that the process() function must not wait.
Perhaps you can find a way to use pthread_mutex_trylock(), instead.
--
Jack O'Quin
Austin, Texas, USA
More information about the Linux-audio-dev
mailing list