add Stopped function to test whether the analysis thread is stopped from outside the class
This commit is contained in:
parent
df5b14dbd4
commit
9f49ac217e
|
@ -16,6 +16,7 @@ class AnalysisThread {
|
|||
|
||||
void Start();
|
||||
void Stop() { terminate_ = true; }
|
||||
bool Stopped() const { return terminate_; }
|
||||
|
||||
private:
|
||||
void Run();
|
||||
|
|
Loading…
Reference in New Issue