Proper use of g_main_context_iteration



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


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