Re: g_thread_exit()

2018-06-27 Thread Chris Vine via gtk-list
On Wed, 27 Jun 2018 08:29:00 -0500 richard boaz via gtk-list wrote: > hello, > > (not sure if this is a glib question, or a linux kernel question, any > helpful hints appreciated...) > > i have a server-side program that is responsible for managing hundreds > (increasing daily) of IoT connection

Re: Emitting signals from threads

2019-01-09 Thread Chris Vine via gtk-list
On Tue, 8 Jan 2019 10:02:58 -0800 Mitko Haralanov via gtk-list wrote: > Thanks for the reply. > > When calling g_main_context_invoke_full(), I am using NULL as the > context pointer. According to the documentation of > g_main_context_invoke(): > > "If context is NULL then the global defa

Re: Non-blocking socket communication with GIO

2019-01-23 Thread Chris Vine via gtk-list
On Wed, 23 Jan 2019 13:34:08 +0100 Gergely Polonkai wrote: > Hello, > > yes, the first two bytes of the response is the message length. If i > explicitly read exactly two bytes (to get the message length) and then > explicitly read that many bytes to get the response, i’m fine. > > What is not w

Re: Emitting signals from threads

2019-02-27 Thread Chris Vine via gtk-list
On Wed, 27 Feb 2019 09:49:43 -0800 Mitko Haralanov via gtk-list wrote: [snip] > However, as I understand it, if my signal is running in the main > context, the signal handler should not be running at the same time as > Gtk is recalculating/repainting the TreeView. It seems as if the > threaded sig

Re: Emitting signals from threads

2019-02-27 Thread Chris Vine via gtk-list
On Wed, 27 Feb 2019 14:08:34 -0800 Mitko Haralanov wrote: > On Wed, Feb 27, 2019 at 1:10 PM Chris Vine via gtk-list > wrote: > > > > On Wed, 27 Feb 2019 09:49:43 -0800 > > Mitko Haralanov via gtk-list wrote: > > [snip] > > > However, as I understand