diff --git a/src/thread_cache_ptr.h b/src/thread_cache_ptr.h index 646473e..c9c59b8 100644 --- a/src/thread_cache_ptr.h +++ b/src/thread_cache_ptr.h @@ -118,7 +118,7 @@ private: bool use_emergency_malloc; }; - static inline thread_local TLSData tls_data_; + static inline thread_local TLSData tls_data_ ATTR_INITIAL_EXEC; static bool tls_ready_; static TlsKey slow_thread_cache_key_;