mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #23185 from y-guyon:parallel_tsan_data_race
This commit is contained in:
commit
bd9d60c4c6
@ -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…
Reference in New Issue
Block a user