summaryrefslogtreecommitdiff
path: root/test/tsan/race_on_puts.cc
AgeCommit message (Collapse)Author
2015-01-21tsan: remove sleeps from testsDmitry Vyukov
Even sleep(1) lead to episodical flakes on some machines. Use an invisible by tsan barrier to enforce required execution order instead. This makes the tests deterministic and faster. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226659 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-30tsan: add a test from data-race-test suite:Dmitry Vyukov
https://code.google.com/p/data-race-test/source/browse/trunk/unittest/racecheck_unittest.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209900 91177308-0d34-0410-b5e6-96231b3b80d8