bool should_quit = false; // Under <buffer_mutex>.
std::condition_variable has_buffered_data;
std::deque<std::string> buffered_data; // Protected by <buffer_mutex>.
bool should_quit = false; // Under <buffer_mutex>.
std::condition_variable has_buffered_data;
std::deque<std::string> buffered_data; // Protected by <buffer_mutex>.