void add_new_tss_node(void const* key, boost::shared_ptr<tss_cleanup_function> func, void* tss_data) { detail::thread_data_base* const current_thread_data(get_or_make_current_thread_data()); current_thread_data->tss_data.insert(std::make_pair(key,tss_data_node(func,tss_data))); }
void insert(void const* key, std::shared_ptr<tss_cleanup_function> const& func, void* tss_data) { data_.insert(std::make_pair(key, tss_data_node(func, tss_data))); }