Re: g_timeout_add(0, ...)
- From: "Tristan Van Berkom" <tvb gnome org>
- To: skip pobox com
- Cc: gtk-list gnome org
- Subject: Re: g_timeout_add(0, ...)
- Date: Fri, 12 Dec 2008 23:07:56 -0500
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]