Re: GConf problems



Gustavo Joćo Alves Marques Carneiro <ee96090@fe.up.pt> writes:
>    I did make a small test program. See the attachment. 
> 
>    I think the problem is related to some threads -- maybe some
> deadlock. You can see in the backtrace below, that the program halts in a
> pthread_mutex_lock.  Also, the deadlock only happens sometimes.  
> 
>    Could it be that I made a mistake? Should I call gdk_threads_enter
> before unref'ing  the GConfClient object? 
> 

GConf isn't thread safe, I doubt OAF is either. GConf doesn't even use
the GTK global mutex for its static data. So, most likely that's the
problem.

Havoc




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