]> arthur.barton.de Git - netdata.git/blobdiff - src/registry.c
Merge pull request #1952 from ktsaou/master
[netdata.git] / src / registry.c
index ec6fb83bad37309d188d30d830e6daa98e1f0f51..ed9be984881d770d29c873285207cb2f076ca8f8 100644 (file)
 // REGISTRY concurrency locking
 
 static inline void registry_lock(void) {
-    pthread_mutex_lock(&registry.lock);
+    netdata_mutex_lock(&registry.lock);
 }
 
 static inline void registry_unlock(void) {
-    pthread_mutex_unlock(&registry.lock);
+    netdata_mutex_unlock(&registry.lock);
 }