On Thu, 2004-10-21 at 13:01 -0300, Duilio Protti wrote:
> > Does anyone has experience with GTK2 and threading, is there a way, a
> > function that locks all threads in a way GTK2 is happy, so I can safely
> > adjust values from within different threads ?
> >
> > Cheers,
> > Dennis
>
> Gtk2 doesn't handle threads by itself, it uses Glib for that. I'm not really
> shure, but a way to control a chunk of threads is to use a pool of threads,
> with GThreadPool. I cannot check this from where I'm right now, but I will
> do at home.
Well, yeah I know, but the point is, if I'm not wrong, gtk is far from
thread safe, so I can't just poke around at the same thing, in different
threads, I've got to look into this as well :)
Dennis
|