Skip to content

Commit

Permalink
Merge pull request opencv#23185 from y-guyon:parallel_tsan_data_race
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jan 27, 2023
2 parents 4009bca + bf29a4d commit bd9d60c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/src/parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd9d60c

Please sign in to comment.