Re: [PATCH] Fix CertficateDB locking scheme

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 06 Oct 2011 11:53:40 -0600

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.

Thank you,

Alex.
Received on Thu Oct 06 2011 - 17:53:53 MDT

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