Searched refs:tls_slot (Results 1 - 1 of 1) sorted by relevance

/external/libchrome/base/threading/
H A Dthread_local_storage_unittest.cc31 static ThreadLocalStorage::StaticSlot tls_slot = TLS_INITIALIZER; member in namespace:base::__anon11033
42 tls_slot.Set(tls_value_ptr_);
44 int *ptr = static_cast<int*>(tls_slot.Get());
49 ptr = static_cast<int*>(tls_slot.Get());
72 tls_slot.Set(value);
107 tls_slot.Initialize(ThreadLocalStorageCleanup);
127 tls_slot.Free(); // Stop doing callbacks to cleanup threads.

Completed in 197 milliseconds