From c8060da22789e2683e82682a64794da863ff1ec4 Mon Sep 17 00:00:00 2001 From: Robert Schmidt <robert.schmidt@openairinterface.org> Date: Fri, 25 Nov 2022 16:53:53 +0100 Subject: [PATCH] Tpool: Unlock after broadcast in abortNotifiedFIFO() --- common/utils/threadPool/thread-pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils/threadPool/thread-pool.h b/common/utils/threadPool/thread-pool.h index b356599546..273c832662 100644 --- a/common/utils/threadPool/thread-pool.h +++ b/common/utils/threadPool/thread-pool.h @@ -236,8 +236,8 @@ static inline void abortNotifiedFIFO(notifiedFIFO_t *nf) { if (nf->outF == NULL) nf->inF = NULL; - mutexunlock(nf->lockF); condbroadcast(nf->notifF); + mutexunlock(nf->lockF); } struct one_thread { -- 2.26.2