From a841b7580eea29c8288b45eea61aedcf9564186c Mon Sep 17 00:00:00 2001 From: Francisco Date: Wed, 12 May 2021 19:55:34 +0100 Subject: [PATCH] fix deadlock caused by non-notification of multiqueue consumer side --- lib/include/srsran/common/multiqueue.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/include/srsran/common/multiqueue.h b/lib/include/srsran/common/multiqueue.h index faf11c2de..b69c91c76 100644 --- a/lib/include/srsran/common/multiqueue.h +++ b/lib/include/srsran/common/multiqueue.h @@ -157,7 +157,6 @@ class multiqueue_handler // To ensure that the consumer noticed that the queue was empty before a push, we store the last // try_pop() return in a member variable. // Doing this reduces the contention of multiple producers for the same condition variable - consumer_notify_needed = false; lock.unlock(); parent->signal_pushed_data(); }