On Tue, 2007-07-10 at 13:10 -0300, Eduardo M KALINOWSKI wrote: [snip] > Make your threads add stuff to a single GAsyncQueue. Let an idle > function (or a timeout function) always run, that checks the GAsyncQueue > and does something if there is something to do, or simply returns if it > is empty. Wouldn't that work?
That would work with a timeout, but not with an idle function. Using g_idle_add() in this way would create a busy loop. Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list