work around tsan+std::thread bug

Change-Id: Iafee657b99474e87481121731b06ced867ec821b
diff --git a/aos/common/libc/aos_strsignal_test.cc b/aos/common/libc/aos_strsignal_test.cc
index d880269..3d90b21 100644
--- a/aos/common/libc/aos_strsignal_test.cc
+++ b/aos/common/libc/aos_strsignal_test.cc
@@ -32,8 +32,14 @@
   // interacts poorly with asan.  Spawning a thread causes the storage to get
   // cleaned up before asan checks.
   SignalNameTester t;
+#ifdef AOS_SANITIZER_thread
+  // tsan doesn't like this usage of ::std::thread. It looks like
+  // <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57507>.
+  t();
+#else
   ::std::thread thread(::std::ref(t));
   thread.join();
+#endif
 }
 
 }  // namespace testing