it is apparently getting a bit late for changes at important code...

This commit is contained in:
Bernhard Amann 2013-05-15 00:56:27 -07:00
parent b947394990
commit 808639fc5f

View file

@ -170,7 +170,10 @@ inline T Queue<T>::Get()
return 0;
}
else if ( messages[read_ptr].empty() )
{
safe_unlock(&mutex[read_ptr]);
return 0;
}
T data = messages[read_ptr].front();
messages[read_ptr].pop();