Re: timers
- From: Diego Zuccato <diego otello alma unibo it>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: timers
- Date: Tue, 13 Dec 2005 10:42:24 +0100
Ben Johnson wrote:
keep in mind that there is no guarantee that that the timer will fire
"on time". it will fire as soon as possible, and only during main loop.
So, if one of your functions takes several seconds to complete a task
and doesn't allow gtk events to be processed, your g_timeout callback
will not be called for those several seconds. I think this is similar
to how POSIX signals work, but they're a little more reliable. :)
If this behaviour is not what he wants, he should fallback to
multithreading (w/ all the gdk_threads_enter/leave stuff).
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]