On Sun, 20 Mar 2016 06:25:10 +0100
Krzysztof wrote:
> Thanks Chris. It worked.
> Does it mean that idle source can be effectively added to global loop
> only? Can't I have idle source in other contexts?
You can, but you have to use g_source_attach(). So you would have
Thanks Chris. It worked.
Does it mean that idle source can be effectively added to global loop
only? Can't I have idle source in other contexts?
On 03/16/2016 01:46 PM, Chris Vine wrote:
On Tue, 15 Mar 2016 20:03:20 +0100
Krzysztof wrote:
On 03/15/2016 12:54 AM, Chris
On Tue, 15 Mar 2016 00:00:37 +0100
Krzysztof wrote:
> How to get idle event source called in main event loop? I do the
> following:
> my idle function is:
>
> static gboolean
> idle ( gpointer data )
> {
> g_print ( "Idle called\n" );
> if ( counter1 == 0 &&
How to get idle event source called in main event loop? I do the
following:
my idle function is:
static gboolean
idle ( gpointer data )
{
g_print ( "Idle called\n" );
if ( counter1 == 0 && counter2 == 0 )
{
g_main_loop_quit ( ( GMainLoop * ) data );
return FALSE;
Hi,
I'm writing a UDP server where I set up 1 socket for multicast messages(SOCKET
A) and 1 for the wildcard address ANY(SOCKET B). These sockets are monitored as
IOChannels and added to the main event loop.
Problem
--
In case of receiving a single multicast message I get 1 event
Hi,
I'm writing a UDP server where I set up 1 socket for multicast messages(SOCKET
A) and 1 for the wildcard address ANY(SOCKET B). These sockets are monitored as
IOChannels and added to the main event loop.
Problem
--
In case of receiving a single multicast message I get 1 event on
Hi!
I have rewritten my Qt-glib main event loop patch completely. It adds
an optional -glibmainloop switch to the ./configure script of Qt,
which integrates a modified QEventloop as a GSource into glib main loop.
http://www.scheinwelt.at/~norbertf/common_main_loop/
I have tested lots of KDE