提交 bd9d60c4 编写于 作者: A Alexander Alekhin

Merge pull request #23185 from y-guyon:parallel_tsan_data_race

......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册