reintroduce Start() methods to analysis and decoding thread

This commit is contained in:
Isaac Connor
2021-04-07 20:36:38 -04:00
parent 30dfadcbf1
commit 2d7479cb59
5 changed files with 18 additions and 1 deletions

View File

@@ -14,6 +14,10 @@ DecoderThread::~DecoderThread() {
thread_.join();
}
void DecoderThread::Start() {
terminate_ = false;
thread_ = std::thread(&DecoderThread::Run, this);
}
void DecoderThread::Run() {
Debug(2, "DecoderThread::Run() for %d", monitor_->Id());