Re: g_timeout_add(0, ...)



On Fri, Dec 12, 2008 at 2:46 PM,  <skip pobox com> 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


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