Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libEGL/
Dmain.cpp31 static sw::Thread::LocalStorageKey currentTLS = TLS_OUT_OF_INDEXES; variable
75 if(currentTLS == TLS_OUT_OF_INDEXES) in attachThread()
77 currentTLS = sw::Thread::allocateLocalStorageKey(releaseCurrent); in attachThread()
80 Current *current = (Current*)sw::Thread::allocateLocalStorage(currentTLS, sizeof(Current)); in attachThread()
97 sw::Thread::freeLocalStorage(currentTLS); in detachThread()
123 sw::Thread::freeLocalStorageKey(currentTLS); in detachProcess()
206 Current *current = (Current*)sw::Thread::getLocalStorage(currentTLS); in getCurrent()