]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnssecsigner.cc
auth: Wrap pthread_ objects
[thirdparty/pdns.git] / pdns / dnssecsigner.cc
index 7e6f485ee9fa269acfbab56353d7cb06cfd37577..3bb27930c8b183ac4c408ab731ea5b54825f27e0 100644 (file)
@@ -33,7 +33,7 @@
 #include "statbag.hh"
 extern StatBag S;
 
-static pthread_rwlock_t g_signatures_lock = PTHREAD_RWLOCK_INITIALIZER;
+static ReadWriteLock g_signatures_lock;
 typedef map<pair<string, string>, string> signaturecache_t;
 static signaturecache_t g_signatures;
 static int g_cacheweekno;