[Spread-users] Concurrency issues with spread 4
jwienke at techfak.uni-bielefeld.de
Sun Sep 26 07:54:38 EDT 2010
On 09/22/2010 07:04 PM, Goran Hasse wrote:
> We use glib to fix this. Generaly you don't need threads... ;-)
> Set up a g_io_channel for the spread file-descriptor
> and add a gio_add_watch( ) - see below
> Then you get callbacks when there is data available.
> If you need som work to be done when there is no events around
> use g_idle_add ()
Thanks, also an interesting solution but we must avoid any dependency on
big frameworks like glib as we are targetting an embedded platform.
More information about the Spread-users