mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
it is apparently getting a bit late for changes at important code...
This commit is contained in:
parent
b947394990
commit
808639fc5f
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue