Re: gnome-vfs usage of GConf vs threads



On Mon, Dec 09, 2002 at 10:37:26AM -0500, Alexander Larsson wrote: 
> If we instantiate a separate GConfClient and lock about its usage, will at 
> least the gconf part be threadsafe?

Nah, I doubt it. Certainly you'd have to audit it to see.

Could you just create a variable for the proxy, and keep it updated
out of the main thread, and the http backend just reads the variable?
(Locking the variable of course so you don't read a half-updated proxy
string.)

Havoc




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