Hello,

I am learning/experimenting with the practicalities of threading. I have 
to periodically (approx 60 seconds) retrieve some records from a 
database table and update some object properties, and I would like to do 
so without seeming to interrupt or hang the GUI while the query is 
executing. Timing of the query is not critical at all, if it varied by 
30%, no one would notice. Would you advise implementing the database 
query using gobject.idle_add() or just create a separate thread 
(gtk.threads_enter(), gtk.threads_leave(),etc)?

Thanks,
Kim
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to