[llvm-commits] [compiler-rt] r160283 - /compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
Dmitry Vyukov
dvyukov at google.com
Mon Jul 16 09:03:16 PDT 2012
Author: dvyukov
Date: Mon Jul 16 11:03:16 2012
New Revision: 160283
URL: http://llvm.org/viewvc/llvm-project?rev=160283&view=rev
Log:
tsan: increase number of dead threads for Go
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc?rev=160283&r1=160282&r2=160283&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_thread.cc Mon Jul 16 11:03:16 2012
@@ -20,7 +20,11 @@
namespace __tsan {
+#ifndef TSAN_GO
const int kThreadQuarantineSize = 16;
+#else
+const int kThreadQuarantineSize = 64;
+#endif
static void MaybeReportThreadLeak(ThreadContext *tctx) {
if (tctx->detached)
More information about the llvm-commits
mailing list