denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] [bug #35529] gui and menu become unresponsive with jack+f


From: Richard Shann
Subject: [Denemo-devel] [bug #35529] gui and menu become unresponsive with jack+fluidsynth
Date: Wed, 15 Feb 2012 12:08:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-gb) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

Follow-up Comment #2, bug #35529 (project denemo):

Well, I notice that the entire gtk main loop is surrounded by 
gdk_threads_enter and leave.
And in audiointerface.c there are further calls surrounding the code to
re-draw the display during playback and to respond to MIDI in. 
The documentation for gdk_threads_enter() says:
This macro marks the beginning of a critical section in which GDK and GTK+
functions can be called safely and without causing race conditions. Only one
thread at a time can be in such a critial section.

So the use of gdk_threads_enter() would seem to be erroneous - and indeed
removing these from main.c does not seems to alter anything. It does not
change the cpu hogging either :(


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35529>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]