Re: g_timeout_add(0, ...)
- From: skip pobox com
- To: Peter Clifton <pcjc2 cam ac uk>
- Cc: gtk-list gnome org
- Subject: Re: g_timeout_add(0, ...)
- Date: Sat, 13 Dec 2008 08:56:34 -0600
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 pobox com - http://smontanaro.dyndns.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]