Re: g_timeout_add(0, ...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Peter> The handler added by g_idle_add() would have a different
    Peter> execution priority than you might want.

    Peter> g_idle_add_full (G_PRIORITY_DEFAULT, ...);

    Peter> Might be a closer equivalent to what the OP was wanting; some
    Peter> means to get their callback called soon after the execution gets
    Peter> back to the main-loop.

Yes.  Would g_timeout_add_full(G_PRIORITY_HIGH, ...) be even better or might
the main loop not regain control before the callback executes?

Thanks,

-- 
Skip Montanaro - skip@xxxxxxxxx - http://smontanaro.dyndns.org/
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux