Add Join() function

This commit is contained in:
Isaac Connor committed 2024-10-26 14:29:40 -04:00
1 parent 94c2816841
commit f131f78d34
4 files changed
+9

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ void DecoderThread::Stop() {
terminate_ = true;
}
void DecoderThread::Join() {
if (thread_.joinable()) thread_.join();
}
void DecoderThread::Run() {
Debug(2, "DecoderThread::Run() for %d", monitor_->Id());