summaryrefslogtreecommitdiff
path: root/test/tsan/signal_write.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-10-15tsan: fix false positive related to signalsDmitry Vyukov
Write interceptor calls malloc, which causes a false unsafe-call-in-signal-handler report. See the test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219784 91177308-0d34-0410-b5e6-96231b3b80d8