Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp @ 4121:7c9ff821063a framework-lgpl
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 19:54:53 +0200 |
parents | bf7b9edf6b81 |
children | 4d42408da117 |
comparison
equal
deleted
inserted
replaced
4120:304842a0d152 | 4121:7c9ff821063a |
---|---|
1037 completedJobs_.erase(it); | 1037 completedJobs_.erase(it); |
1038 break; | 1038 break; |
1039 } | 1039 } |
1040 } | 1040 } |
1041 | 1041 |
1042 (void) ok; // Remove warning about unused variable in release builds | |
1042 assert(ok); | 1043 assert(ok); |
1043 | 1044 |
1044 found->second->SetState(JobState_Pending); | 1045 found->second->SetState(JobState_Pending); |
1045 pendingJobs_.push(found->second); | 1046 pendingJobs_.push(found->second); |
1046 pendingJobAvailable_.notify_one(); | 1047 pendingJobAvailable_.notify_one(); |