summaryrefslogtreecommitdiffstats
path: root/libnetdata/avl/avl.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:39 +0000
commit89f3604407aff8f4cb2ed958252c61e23c767e24 (patch)
tree7fbf408102cab051557d38193524d8c6e991d070 /libnetdata/avl/avl.c
parentAdding upstream version 1.34.1. (diff)
downloadnetdata-89f3604407aff8f4cb2ed958252c61e23c767e24.tar.xz
netdata-89f3604407aff8f4cb2ed958252c61e23c767e24.zip
Adding upstream version 1.35.0.upstream/1.35.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/avl/avl.c')
-rw-r--r--libnetdata/avl/avl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/avl/avl.c b/libnetdata/avl/avl.c
index b05b97ac..5a4c1a98 100644
--- a/libnetdata/avl/avl.c
+++ b/libnetdata/avl/avl.c
@@ -372,9 +372,9 @@ void avl_destroy_lock(avl_tree_lock *tree) {
int lock;
#ifdef AVL_LOCK_WITH_MUTEX
- lock = pthread_mutex_destroy(&tree->mutex);
+ lock = netdata_mutex_destroy(&tree->mutex);
#else
- lock = pthread_rwlock_destroy(&tree->rwlock);
+ lock = netdata_rwlock_destroy(&tree->rwlock);
#endif
if(lock != 0)