Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_tls.c34 static DWORD tlsIndex = TLS_OUT_OF_INDEXES; variable
39 tlsIndex = TlsAlloc(); in stw_tls_init()
40 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_init()
63 TlsSetValue(tlsIndex, data); in stw_tls_data_create()
78 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_init_thread()
94 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_cleanup_thread()
98 data = (struct stw_tls_data *) TlsGetValue(tlsIndex); in stw_tls_cleanup_thread()
100 TlsSetValue(tlsIndex, NULL); in stw_tls_cleanup_thread()
114 if (tlsIndex != TLS_OUT_OF_INDEXES) { in stw_tls_cleanup()
115 TlsFree(tlsIndex); in stw_tls_cleanup()
[all …]