Why not make it single threaded with
https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-add-poll

On Tue, Aug 11, 2015 at 8:27 PM Jacques Pelletier <jpellet...@ieee.org>
wrote:

> Hi,
>
> I'm using a separate thread for accepting clients on a socket server.
> In this thread, the g_main_context_iteration is called to update the GUI.
>
> Do I need to use g_main_context_acquire and/or g_main_context_release?
>
> Apart from the code and the reference manuals, there's not much infos
> about the proper use of these functions.
> What are these for? Where can I get a more detailled description of
> these functions?
>
> Thanks!
>
> JP
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
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