Closed jellynian closed 6 years ago
std::mutex queue_mutex; std::condition_variable condition; bool stop; };
Why not use atomic operations for “bool stop” such as: std::atomic<bool> stop(false);
std::atomic<bool> stop(false);
Why not use atomic operations for “bool stop” such as:
std::atomic<bool> stop(false);