gtkroomlist responsiveness

Sean Egan seanegan at gmail.com
Sun Jan 6 10:18:03 EST 2008


On Jan 6, 2008 5:46 AM, Gabriel Schulhof <nix at go-nix.ca> wrote:
> Hi!
>
> The use of while(g_main_context_iteration(NULL, FALSE)); as in the patch
> below makes gtkroomlist much more responsive (read: usable) on slow
> processors (such as the OMAP 2420 used in certain Internet
> tablets ;o) ), and doesn't seem to cause any adverse effects on the
> desktop:

I don't recall the specifics, but I remember we've had to remove
g_main_context_iteration() calls from Pidgin in the past as it had
some thread reentrancy problems against dbus or gstreamer or some
such. Is it possible to use g_idle_add here instead, which does not
have the same problems?

-s.




More information about the Devel mailing list