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/
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel