My app is running fairly well now, most of the time.  I'm doing work on 
events I care about, using a gtk timer.  I'm also doing a fair amount of 
work in the expose event.  My problem is that every now and then I see a 
REALLY long time gap as follows:

in my gtk timer callback:

while (gtk_events_pending())
    gtk_main_iteration();

I get my expose events, and do stuff - that all works fine.  However, 
sometimes I see wierd gaps in time

Time in ms   event
0     Enter gtk_main_iteration
10     Enter expose event
20     Finish expose event
150     Control returns to timer callback while loop

What the heck is happening during all the time (130ms in example) in the 
gtk main loop?  Is there a reasonably easy way to track its activity 
perhaps?

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to