mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-26 17:52:30 -04:00
Add Join() function
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user