Searched refs:tlsIndex (Results 1 – 1 of 1) sorted by relevance
34 static DWORD tlsIndex = TLS_OUT_OF_INDEXES; variable39 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 …]