Re: Patch: prevents an interlock unreasoning while this folder lock

Patch approved

On Tue, 2007-07-17 at 17:58 +0200, Jose Dapena Paz wrote:
> 	Hi,
> 	This patch prevents an interlock issue on running this code path
> while other thread does the last unreason of a folder (and then
> folderlocking in uncache folder method).

> 	Shouldn't all the folder locks be protected by reason unless we surely
> know it was already reasoned?

The reason is atm only used for the TynHeader instances. Not really for
the folder itself. Maybe we should in stead use normal GObject reference
counting in stead?

Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org

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