summaryrefslogtreecommitdiff
path: root/test/tsan/signal_block.cc
AgeCommit message (Collapse)Author
2016-07-27tsan: don't deliver signals when they are blockedDmitry Vyukov
When we delay signals we can deliver them when the signal is blocked. This can be surprising to the program. Intercept signal blocking functions merely to process pending signals. As the result, at worst we will delay a signal till return from the signal blocking function. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276876 91177308-0d34-0410-b5e6-96231b3b80d8