mirror of https://github.com/opencv/opencv.git
Omit the first check of the double-checked locking pattern in recordException() in parallel.cpp when CV_THREAD_SANITIZER is defined. This should only slow recordException() down when the thread sanitizer is used, and avoids the TSAN data race warning.pull/23185/head
parent
4009bca59a
commit
bf29a4d746
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue