On 12/02/2013 09:50 AM, Dan wrote:
Also, related to Hrvoje Niksic's comment, is it safe to use GDK calls
from other threads at all (as long as you guard them with the
appropriate incantations)? Or do you absolutely have to schedule all
GUI work to the GUI thread?
According to https://developer.
Hi Tim, thanks for your reply.
> Both idle_add and timeout_add are thread safe, as are all GLib mainloop
> functions AFAIK. 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), or "with
> gtk.gdk.lock:" if your version of gtk is new e
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 th