Dear Devels:

I am having troubles because the GMutex used gdk_threads_enter/leave can
be non-recursive.

I have a piece of code (g_module_check_init) to either be called from an
event dispatched by GDK(if the module is loaded via GtkSettings) or be
called directly without entering the GDK critical section(if the module
is loaded via GTK_MODULE).

The code need to be protected so that its execution is not interrupted
by GDK activities in other threads. How can I do this without a
recursive gdk critical section?

Regards,

Yu

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to