How do I make functions run by g_idle_add/g_timeout_add work asynchronously?
- by httpinterpret
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?