1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #23185 from y-guyon:parallel_tsan_data_race

This commit is contained in:
Alexander Alekhin
2023-01-27 15:10:18 +00:00
+2
View File
@@ -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)