bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 5/7] Fix double call to pthread_mutex_unlock in _treefs_s_dir


From: Samuel Thibault
Subject: Re: [PATCH 5/7] Fix double call to pthread_mutex_unlock in _treefs_s_dir_lookup.
Date: Thu, 27 Dec 2012 00:03:34 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Neal H. Walfield, le Mon 17 Dec 2012 10:08:02 +0100, a écrit :
> I would change this to do a trylock on dir->lock.  If that fails, then
> unlock node->lock and relock dir->lock and node->lock.

Indeed, thanks.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]