I have a section of code that invokes g_timeout_add() to begin a data capture 
routine. The code can be invoked several times but the data collection function 
remains the same (the argument to the timeout holds the details of the data 
that needs to be collected):

TIMEOUT = g_timeout_add (rate, CAPTURE_DATA, DVAR);

Will the gtk_main loop manage the calls to CAPTURE_DATA so the timeouts don't 
overlap? or should this be safer done with threads and mutexes?

Thanks!

-M
_______________________________________________
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