Home
last modified time | relevance | path

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

/device/generic/vulkan-cereal/third-party/angle/src/libGLESv2/
Dglobal_state.cpp40 static TLSIndex threadTLS = TLS_INVALID_INDEX; variable
49 ASSERT(threadTLS != TLS_INVALID_INDEX); in AllocateCurrentThread()
50 if (threadTLS == TLS_INVALID_INDEX) in AllocateCurrentThread()
56 if (!SetTLSValue(threadTLS, thread)) in AllocateCurrentThread()
98 if (threadTLS == TLS_INVALID_INDEX) in GetCurrentThread()
100 threadTLS = CreateTLSIndex(); in GetCurrentThread()
103 Thread *current = static_cast<Thread *>(GetTLSValue(threadTLS)); in GetCurrentThread()
148 Thread *thread = static_cast<Thread *>(GetTLSValue(threadTLS)); in DeallocateCurrentThread()
150 return SetTLSValue(threadTLS, nullptr); in DeallocateCurrentThread()
175 threadTLS = CreateTLSIndex(); in InitializeProcess()
[all …]