From 2e82080a3ed51ab467f4bd7a1bd8b332a550d6d6 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sat, 9 Nov 2024 10:04:45 -0500 Subject: [PATCH] fix backport issue --- src/lib/ares_event_thread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ares_event_thread.c b/src/lib/ares_event_thread.c index e35f27e0..28076793 100644 --- a/src/lib/ares_event_thread.c +++ b/src/lib/ares_event_thread.c @@ -327,13 +327,13 @@ static void *ares_event_thread(void *arg) e->ev_sys->wait(e, timeout_ms); /* Relock before we loop again */ - ares_thread_mutex_lock(e->mutex); + ares__thread_mutex_lock(e->mutex); /* Each iteration should do timeout processing */ if (e->isup) { - ares_thread_mutex_unlock(e->mutex); + ares__thread_mutex_unlock(e->mutex); ares_process_fd(e->channel, ARES_SOCKET_BAD, ARES_SOCKET_BAD); - ares_thread_mutex_lock(e->mutex); + ares__thread_mutex_lock(e->mutex); } }