mirror of https://github.com/PentHertz/srsLTE.git
fix deadlock caused by non-notification of multiqueue consumer side
This commit is contained in:
parent
1670124926
commit
a841b7580e
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue