On 12/01/2013 10:19 PM, Tim Evans wrote:
It's the GTK and GDK functions you have to be careful
with. You don't need (3)/(4). You should still have (1)/(2),

Why? I thought the whole point of using g_idle_add from the other thread is to have the callbacks invoked in the GUI thread (the thread that runs the GTK main loop). If the GTK API is only ever accessed from a single thread, then no locking should be necessary.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to