Home
last modified time | relevance | path

Searched refs:tls_key_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/threading/
Dthread_local_storage_win.cc22 long ThreadLocalStorage::tls_key_ = TLS_OUT_OF_INDEXES; member in base::ThreadLocalStorage
36 if (tls_key_ == TLS_OUT_OF_INDEXES) { in Initialize()
43 if (InterlockedCompareExchange(&tls_key_, value, TLS_OUT_OF_INDEXES) != in Initialize()
50 DCHECK(!TlsGetValue(tls_key_)); in Initialize()
55 TlsSetValue(tls_key_, tls_data); in Initialize()
66 if (tls_key_ == TLS_OUT_OF_INDEXES || !TlsGetValue(tls_key_)) in Initialize()
90 void** tls_data = static_cast<void**>(TlsGetValue(tls_key_)); in Get()
98 void** tls_data = static_cast<void**>(TlsGetValue(tls_key_)); in Set()
106 if (tls_key_ == TLS_OUT_OF_INDEXES) in ThreadExit()
109 void** tls_data = static_cast<void**>(TlsGetValue(tls_key_)); in ThreadExit()
[all …]
Dthread_local_storage.h86 static long tls_key_; variable