fix deadlock caused by non-notification of multiqueue consumer side

This commit is contained in:
Francisco 2021-05-12 19:55:34 +01:00 committed by Francisco Paisana
parent 1670124926
commit a841b7580e
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}