Skip to content

Commit

Permalink
Merge pull request #44980 from smorovic/140x-fix-source-cv-2
Browse files Browse the repository at this point in the history
(DAQ) fix input source cv notification [14_0_X]
  • Loading branch information
cmsbuild authored May 22, 2024
2 parents 2292881 + a9f79eb commit e328417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions EventFilter/Utilities/src/DAQSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ void DAQSource::readWorker(unsigned int tid) {
init = false;
startupCv_.notify_one();
}
cvWakeup_.notify_all();
cvReader_[tid]->wait(lk);

if (thread_quit_signal[tid])
Expand Down
1 change: 1 addition & 0 deletions EventFilter/Utilities/src/FedRawDataInputSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ void FedRawDataInputSource::readWorker(unsigned int tid) {
init = false;
startupCv_.notify_one();
}
cvWakeup_.notify_all();
cvReader_[tid]->wait(lk);

if (thread_quit_signal[tid])
Expand Down

0 comments on commit e328417

Please sign in to comment.