Exemple #1
0
      void add_report(STATE, Diagnostic* diagnostic) {
        std::lock_guard<std::mutex> guard(lock_);

        recurring_reports_.insert(diagnostic);

        start_reporter(state);
      }
Exemple #2
0
      void remove_report(Diagnostic* diagnostic) {
        std::lock_guard<std::mutex> guard(lock_);

        recurring_reports_.erase(diagnostic);
      }
Exemple #3
0
      void add_report(Diagnostic* diagnostic) {
        std::lock_guard<std::mutex> guard(lock_);

        recurring_reports_.insert(diagnostic);
      }