Nischal Rao wrote:
> the sample code is:
[..]

your use of threading doesn't make sense. All your threads are within a
lock, so you have three threads (main + two threads) but they can never
execute any instructions in parallel, because they all wait for the
global gdk lock.

Everything you want to do in this code should be done without threads,
it will have more performance and less complexity.

Olivier


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to