The stress test does various assorted things
(memory accesses, function calls, atomic operations,
thread creation/join, intercepted libc calls)
in multiple threads just to stress various parts
of the runtime.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG124fcd7e9d2b: tsan: add a stress test
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/tsan/stress.cpp | ||
---|---|---|
18 | Probably better if stop is volatile to not leave this to chance, assuming you don't want this to be atomic in case it could introduce unwanted effects. Or add a compiler barrier. |
Probably better if stop is volatile to not leave this to chance, assuming you don't want this to be atomic in case it could introduce unwanted effects.
Or add a compiler barrier.