tls and std::map