X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fregistry.c;h=ed9be984881d770d29c873285207cb2f076ca8f8;hb=3869e7eb5d6bbf3d4b78d84e5b36f19a8968971f;hp=ec6fb83bad37309d188d30d830e6daa98e1f0f51;hpb=99e33cc6d52402d77c2be0409386461281e86be0;p=netdata.git diff --git a/src/registry.c b/src/registry.c index ec6fb83b..ed9be984 100644 --- a/src/registry.c +++ b/src/registry.c @@ -10,11 +10,11 @@ // REGISTRY concurrency locking static inline void registry_lock(void) { - pthread_mutex_lock(®istry.lock); + netdata_mutex_lock(®istry.lock); } static inline void registry_unlock(void) { - pthread_mutex_unlock(®istry.lock); + netdata_mutex_unlock(®istry.lock); }