On Wed, Nov 6, 2013 at 9:58 AM, Horst Löffel <bionicsp...@web.de> wrote:
> Because the program acts as a plugin i have to run gtk_main in it's own
> thread. But drawing operations will come from another thread which i call
> "main" thread.

Many main loop implementations allow you to embed a different main
loop within them. In your "main" thread, see if you can call
gtk_main_context_iteration() regularly with may_block = FALSE instead
of running the glib main loop full time in its own thread. This should
eliminate the need for inter-thread communication.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to