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.