|
@@ -350,7 +350,7 @@ T RingQueue<T>::front()
|
|
|
|
|
|
std::unique_lock<std::mutex> lock(m_mutex);
|
|
std::unique_lock<std::mutex> lock(m_mutex);
|
|
m_cond_NoEmpty.wait(lock, [this](){
|
|
m_cond_NoEmpty.wait(lock, [this](){
|
|
- return (!isEmpty() || m_isExit);
|
|
|
|
|
|
+ return (!_isEmpty() || m_isExit);
|
|
});
|
|
});
|
|
if(m_isExit)
|
|
if(m_isExit)
|
|
{
|
|
{
|