[all-commits] [llvm/llvm-project] b08883: tsan: deflake dlopen_static_tls.cpp
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Mon Dec 13 03:01:53 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b08883337531feb2b72aee89164c80480aa9d7dc
https://github.com/llvm/llvm-project/commit/b08883337531feb2b72aee89164c80480aa9d7dc
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M compiler-rt/test/tsan/Linux/dlopen_static_tls.cpp
Log Message:
-----------
tsan: deflake dlopen_static_tls.cpp
Currently the test calls dlclose in the thread
concurrently with the main thread calling a function
from the dynamic library. This is not good.
Wait for the main thread to call the function
before calling dlclose.
Depends on D115612.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D115613
More information about the All-commits
mailing list