Re: Concurrency issues with spread 4

Johannes Wienke <[email protected]>
Newsgroups gmane.network.spread.user
Message-ID <[email protected]>
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.

Regards,
Johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.