threadsafe_queue: Add WaitIfEmpty and use it in logging
This commit is contained in:
parent
874a95cea7
commit
9b49a79a72
3 changed files with 27 additions and 13 deletions
|
@ -28,6 +28,7 @@ struct Entry {
|
|||
unsigned int line_num;
|
||||
std::string function;
|
||||
std::string message;
|
||||
bool final_entry = false;
|
||||
|
||||
Entry() = default;
|
||||
Entry(Entry&& o) = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue