How do I make functions run by g_idle_add/g_timeout_add work asynchronously?
Posted
by httpinterpret
on Stack Overflow
See other posts from Stack Overflow
or by httpinterpret
Published on 2010-05-09T09:26:48Z
Indexed on
2010/05/09
13:18 UTC
Read the original article
Hit count: 264
g_timeout_add (100, (GSourceFunc) read_next_packets, NULL);
I can feel the GUI response is slow because of the above statement.
How can I make it work asynchronously so that it doesn't affect the GUI response?
© Stack Overflow or respective owner