From db82de032b32da10cd6ad0af6b461e458c6178fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Kr=C4=99cicki?= Date: Tue, 25 Feb 2020 09:40:07 +0100 Subject: [PATCH] Revert "usleep in rbtdb" This reverts commit 32a40098675a22a40afe14b1f76d426308989c4e. --- lib/dns/rbtdb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 22254813d9..c5123748ad 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -15,7 +15,6 @@ #include #include -#include #include #include @@ -2810,7 +2809,6 @@ findnodeintree(dns_rbtdb_t *rbtdb, dns_rbt_t *tree, const dns_name_t *name, */ __sync_synchronize(); pthread_yield(); - usleep(10000); locktype = isc_rwlocktype_write; RWLOCK(&rbtdb->tree_lock, locktype); node = NULL;