[PATCH] Fix CertficateDB locking scheme

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Thu, 22 Sep 2011 14:11:00 +0300

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

Received on Thu Sep 22 2011 - 11:11:02 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 22 2011 - 12:00:05 MDT