Hello there

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You probably hate threading questions by know, so bare with me.

Are you supposed to use gdk_threads_enter() and gdk_threads_leave from
within a glib callback?

I have this code

static gboolean pollin(GIOChannel *source,
                       GIOCondition condition,
                       gpointer data)
{
<snip>
gdk_threads_enter();
.... do some stuff to a GtkListStore to append some info the source gave me
gdk_threads_leave();   <- here it hangs
return TRUE;
}


I'm now recompiling glibc, glib and gtk in order to get symbols in gdb,
back-traces.


Stian Skjelstad aka mw|
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux