switch everything to the now-standardized thread_local
We're only using compilers new enough to support it now, so just use it
without a compatibility layer in between.
Change-Id: I97a24ed344e3d4ccde0b04af9c44995cf417a635
diff --git a/aos/linux_code/logging/linux_interface.cc b/aos/linux_code/logging/linux_interface.cc
index 626b2ee..b0a5c1b 100644
--- a/aos/linux_code/logging/linux_interface.cc
+++ b/aos/linux_code/logging/linux_interface.cc
@@ -3,7 +3,6 @@
#include <sys/prctl.h>
#include "aos/linux_code/complex_thread_local.h"
-#include "aos/linux_code/thread_local.h"
#include "aos/common/die.h"
namespace aos {
@@ -47,7 +46,7 @@
// reason for doing this instead of just deleting them is that tsan (at least)
// doesn't like it when pthread_atfork handlers do complicated stuff and it's
// not a great idea anyways.
-AOS_THREAD_LOCAL bool delete_current_context(false);
+thread_local bool delete_current_context(false);
} // namespace