summaryrefslogtreecommitdiffstats
path: root/libnetdata/avl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-06-09 04:52:57 +0000
commit00151562145df50cc65e9902d52d5fa77f89fe50 (patch)
tree2737716802f6725a5074d606ec8fe5422c58a83c /libnetdata/avl
parentReleasing debian version 1.34.1-1. (diff)
downloadnetdata-00151562145df50cc65e9902d52d5fa77f89fe50.tar.xz
netdata-00151562145df50cc65e9902d52d5fa77f89fe50.zip
Merging upstream version 1.35.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/avl')
-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)