I have a segment of code that "gets busy" and causes the gui to pause for an
unacceptably long time (loading glade files (many)),  so in the loader in
between each glade load I added:

while (gtk_events_pending())
      gtk_main_iteration();

Which greatly improved the GUI response.
the problem is after the function that has this little tidbit in it returns, 
the GUI locks up solid (no CPU use, like a deadlock)

The function in which this runs, gets called from a GTK+ timeout.  the timeout
was initiated from the the main context...

Why does this cause a deadlock some time after the function that ran it ends?




=====
Dave J. Andruczyk


                
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 
_______________________________________________
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