Re: Proper use of g_main_context_iteration
- From: David King <amigadave amigadave com>
- To: Jacques Pelletier <jpelletier ieee org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Proper use of g_main_context_iteration
- Date: Wed, 12 Aug 2015 13:01:31 +0100
Hi
On 2015-08-11 20:27, Jacques Pelletier <jpelletier ieee org> wrote:
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?
There is a useful section of the GNOME programming guidelines on main
contexts:
https://developer.gnome.org/programming-guidelines/stable/main-contexts.html
Philip Withnall deserves the credit for writing this. Thanks Philip!
--
http://amigadave.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]