GObject and threads

2010-07-08 Thread Jaroslav Šmíd
I need to connect to multiple GObject's signals in my secondary thread. Object is created in the primary (main) thread. Both threads have glib loop running. Problem is that the signal connected in secondary thread is actually executed from primary thread (that created gobject). How can I achieve th

Re: GObject and threads

2006-08-17 Thread Tristan Van Berkom
Tomasz Jankowski wrote: >Hi! > >I have simple question ;) Are gobject's functions: g_object_set () and >g_object_get () threadsafe? > No. A GObject can be owned by you or gtk+, you must protect it inside critical sections with mutexes and the like - gobjects that are owned and accessed by gtk+ wi

GObject and threads

2006-08-17 Thread Tomasz Jankowski
Hi! I have simple question ;) Are gobject's functions: g_object_set () and g_object_get () threadsafe? -- Pozdrawiam! Tom ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list