Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libEGL/
Dmain.cpp30 static sw::Thread::LocalStorageKey currentTLS = TLS_OUT_OF_INDEXES; variable
74 if(currentTLS == TLS_OUT_OF_INDEXES) in attachThread()
76 currentTLS = sw::Thread::allocateLocalStorageKey(releaseCurrent); in attachThread()
79 Current *current = (Current*)sw::Thread::allocateLocalStorage(currentTLS, sizeof(Current)); in attachThread()
96 sw::Thread::freeLocalStorage(currentTLS); in detachThread()
122 sw::Thread::freeLocalStorageKey(currentTLS); in detachProcess()
197 Current *current = (Current*)sw::Thread::getLocalStorage(currentTLS); in getCurrent()