- static std::mutex threads_should_quit_mu;
- static bool threads_should_quit; // Under threads_should_quit_mu.
- static std::condition_variable threads_should_quit_modified; // Signals when threads_should_quit is set.
+ static std::thread update_thread;
+ static std::mutex update_thread_should_quit_mu;
+ static bool update_thread_should_quit; // Under thread_should_quit_mu.
+ static std::condition_variable update_thread_should_quit_modified; // Signals when threads_should_quit is set.