Re: g_timeout_add(0, ...)

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

 



On Fri, Dec 12, 2008 at 2:46 PM,  <skip@xxxxxxxxx> wrote:
>
> Is it valid to call g_timeout_add with an interval of 0?  If so, does it
> have well-defined semantics?  Might it recognize the 0ms interval and call
> the handler immediately or will it guarantee that we at least return to the
> main loop first?

I think what you want to use is g_idle_add().

Cheers,
                  -Tristan
_______________________________________________
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