Re: Idle Function Not Getting Called



On Sat, 12 Sep 2009 12:00:11 -0400 (EDT)
Marshall Lake <mlake mlake net> wrote:
[...]
Me:
The important point in looking at out-of-order locking (or other
locking issues) is that the idle handler runs in the thread in
which the main program loop runs, not the thread which called
g_idle_add()/ g_idle_add_full(), and that it runs at a time not of
that calling thread's choosing.

I don't quite understand this.  Don't all idle functions run in the
main program loop thread?

Yes.

Chris





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