[linux-audio-dev] gtkmeter and threads?
joq at io.com
Sun Oct 31 16:59:40 UTC 2004
[copying to jamin-devel]
Dan Mills <dmills at spamblock.demon.co.uk> writes:
> I am working on a project that makes very heavy use of the gtkmeter code
> (borrowed from JAMIN), and seem to have a hard to track down problem....
> I am using jack so there are a few threads involved and the meters are updated
> from a g_timeout_add timer callback, the update_meters function is protected
> by gdk_threads_enter/leave. The problem is that in spite of this I still
> sometimes get the GUI locking up. There are no locks shared between the GUI
> and the DSP code and when this happens the DSP continues to run just fine.
> I remember a CVS version of JAMIN used to do something similar?
It still does. The problem is intermittent, thus hard to find.
> Does anyone here remember what the cure was, it might give me some hints....
AFAIK, no one has found the bug. I didn't even consider that it might
be related to the meters until I saw your message.
More information about the Linux-audio-dev