Searched defs:TLSKey (Results 1 - 2 of 2) sorted by relevance

/external/libchrome/base/threading/
H A Dthread_local_storage.h35 typedef unsigned long TLSKey; typedef in class:base::internal::PlatformThreadLocalStorage
38 typedef pthread_key_t TLSKey;
53 static bool AllocTLS(TLSKey* key);
57 static void FreeTLS(TLSKey key);
58 static void SetTLSValue(TLSKey key, void* value);
59 static void* GetTLSValue(TLSKey key);
/external/pdfium/third_party/libopenjpeg20/
H A Dthread.c109 static DWORD TLSKey = 0; variable
130 TLSKey = TlsAlloc();
140 if (TLSKey == TLS_OUT_OF_INDEXES) {
156 HANDLE hEvent = (HANDLE) TlsGetValue(TLSKey);
164 TlsSetValue(TLSKey, hEvent);
233 /* Make sure TLSKey is not being created just at that moment... */
239 hEvent = (HANDLE) TlsGetValue(TLSKey);

Completed in 158 milliseconds