g_timeout_add(0, ...)

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?


Skip Montanaro - skip pobox com - http://smontanaro.dyndns.org/

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