Subject: Re: [linux-audio-dev] Jack Zombified??
From: Jack O'Quin (joq_AT_io.com)
Date: Mon Apr 28 2003 - 06:39:16 EEST
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
This archive was generated by hypermail 2b28 : Mon Apr 28 2003 - 07:05:51 EEST