Re: gdk threads ...

On Wed, Apr 25, 2012 at 2:36 PM, Chris Vine <chris cvine freeserve co uk> wrote:

> I was responding to your advice that "If you want other threads to be
> able to set up timeout callbacks in the GUI event loop, then just use
> g_idle_add() to get them set up".  Something seems to have become
> elided in the telling, since one thread can safely attach a timeout to a
> another thread's main loop in the same way that it can attach an idle
> source to it.

i've never seen anyone remark that  attaching a timeout (or other
source) to a main loop is thread safe. if it is, then great.  i was
under the impression that g_idle_add() was special ...

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