Merge pull request #23185 from y-guyon:parallel_tsan_data_race

pull/23188/head^2
Alexander Alekhin 2 years ago
commit bd9d60c4c6
  1. 2
      modules/core/src/parallel.cpp

@ -263,7 +263,9 @@ namespace {
void recordException(const cv::String& msg)
#endif
{
#ifndef CV_THREAD_SANITIZER
if (!hasException)
#endif
{
cv::AutoLock lock(cv::getInitializationMutex());
if (!hasException)

Loading…
Cancel
Save