forked from OSchip/llvm-project
[Tsan] Fix the atomic_race.cc test to pass on systems with high loads
Differential Revision: http://reviews.llvm.org/D6478 llvm-svn: 223122
This commit is contained in:
parent
fbd6ec09df
commit
870e790924
|
@ -36,7 +36,7 @@ void *Thread(void *p) {
|
|||
for (int i = 0; i < kTestCount; i++) {
|
||||
Test(i, &atomics[i], false);
|
||||
}
|
||||
sleep(2);
|
||||
sleep(4);
|
||||
for (int i = 0; i < kTestCount; i++) {
|
||||
fprintf(stderr, "Test %d reverse\n", i);
|
||||
Test(i, &atomics[kTestCount + i], false);
|
||||
|
|
Loading…
Reference in New Issue