diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-09-03 12:25:22 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-09-03 12:25:22 +0000 |
commit | f8cfdd9207c67a3cb4db3cb081f3550bcc7f0535 (patch) | |
tree | 3fc6a62cc43cc80f00cf518dde6dd10b8d47a21b /compiler-rt/test/tsan/signal_recursive.cc | |
parent | f1741f52ad6ab6f2baba9e25e2ba7fdd1d021ba3 (diff) | |
download | bcm5719-llvm-f8cfdd9207c67a3cb4db3cb081f3550bcc7f0535.tar.gz bcm5719-llvm-f8cfdd9207c67a3cb4db3cb081f3550bcc7f0535.zip |
tsan: handle early signals
The second part of the fix of
https://code.google.com/p/thread-sanitizer/issues/detail?id=71
llvm-svn: 217031
Diffstat (limited to 'compiler-rt/test/tsan/signal_recursive.cc')
-rw-r--r-- | compiler-rt/test/tsan/signal_recursive.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/signal_recursive.cc b/compiler-rt/test/tsan/signal_recursive.cc index d3e9dbb9f8c..db1d8b0f6d1 100644 --- a/compiler-rt/test/tsan/signal_recursive.cc +++ b/compiler-rt/test/tsan/signal_recursive.cc @@ -119,7 +119,6 @@ int main(int argc, const char *argv[]) { Init(); pthread_t busy_thread; pthread_create(&busy_thread, NULL, &BusyThread, NULL); - sleep(1); // Tsan deadlocks without these sleeps CollectGarbage(busy_thread); pthread_join(busy_thread, 0); fprintf(stderr, "DONE\n"); |