Lazy g_main_loop()
Kyryll A Mirnenko aka Mirya
mirya at zoc.com.ua
Thu Sep 27 06:20:52 EDT 2007
Back to this thread:
I've rebuilt glib20 with #define G_MAIN_POLL_DEBUG (gmain.c), it now outputs
some data about polling, what I have from debug is:
[my routine from another thread says it has just called g_idle_add_full() to
add my callback ]
[18 seconds of inactivity]
g_main_poll(5) timeout: 18125 - elapsed 18.1255200000 seconds
[my callback says it has just been entered]
Maybe someone knows, why those 18 seconds were wasted.
--
Regards, Mirya
ICQ #313898202
More information about the Devel
mailing list