Fix lf_queue::wait
Remove incorrect loop
This commit is contained in:
@@ -357,7 +357,7 @@ public:
|
|||||||
|
|
||||||
void wait() noexcept
|
void wait() noexcept
|
||||||
{
|
{
|
||||||
while (m_head == 0)
|
if (m_head == 0)
|
||||||
{
|
{
|
||||||
m_head.wait(0);
|
m_head.wait(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user