Re: [PATCH] Fix CertficateDB locking scheme

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Thu, 06 Oct 2011 21:19:19 +0300

On 10/06/2011 08:53 PM, Alex Rousskov wrote:
> On 09/22/2011 05:11 AM, Tsantilas Christos wrote:
>> Fix CertficateDB locking scheme
>>
>> Currently we are locking every file going to be accessed by
>> CertificateDB code even if it is not realy needed, because of a more
>> general lock.
>>
>> This patch:
>> - Replace the old FileLocker class with the pair Lock/Locker classes
>> - Remove most of the locks in CertificateDB with only two locks one
>> for main database locking and one lock for the file contain the
>> current serial number.
>>
>> This is a Measurement Factory project
>
> Hi Christos,
>
> Please commit these changes if you are comfortable with them. They
> will make further ssl_crtd polishing and optimization easier.

OK patch applied to trunk.

>
>
> Thank you,
>
> Alex.
>
Received on Thu Oct 06 2011 - 18:19:36 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 07 2011 - 12:00:04 MDT