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

Re: Callbacks from an idle function



On April 8, 2005 09:20 am, Vivien Malerba wrote:
> On Apr 8, 2005 6:13 PM, Peter Bloomfield 
<peterbloomfield bellsouth net> wrote:
> > On 04/08/2005 11:41:57 AM, Vivien Malerba wrote:
> > > On Apr 8, 2005 5:26 PM, Peter Bloomfield
> > > <peterbloomfield bellsouth net> wrote:
> >
> > [ snip ]
> >
> > >> Perhaps you're trying to use gdk_threads_enter
> > >> recursively?  Instant lock...
> > >
> > > I did not use gdk_threads_enter()/gdk_threads_leave() when
> > > I posted the message.
> >
> > Oh, well, *there*'s the problem!
>
> I thought that gdk_threads_enter()/gdk_threads_leave() were
> only to solve multi-threads problems, I don't see why they
> would be needed if there is only one thread!
But you explicitly enabled the multithreading (according to your 
original post) and so you need to play by the multithreading 
rules.
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
Bill Medland
mailto:billmedland mercuryspeed com
http://webhome.idirect.com/~kbmed



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