This commit is contained in:
2024-12-03 10:08:19 -06:00
parent d0a8f9df58
commit f480720665
2 changed files with 30 additions and 30 deletions

View File

@ -60,12 +60,10 @@ public:
private:
app_config *config_{nullptr};
std::unique_ptr<std::thread> high_frequency_thread_;
std::array<std::unique_ptr<std::thread>, 3U> frequency_threads_;
std::unordered_map<std::string, polling_item> items_;
std::unique_ptr<std::thread> low_frequency_thread_;
std::mutex mutex_;
std::condition_variable notify_;
std::unique_ptr<std::thread> second_frequency_thread_;
std::mutex start_stop_mutex_;
stop_type stop_requested_{false};