Searched refs:cffi_tls_index (Results 1 – 1 of 1) sorted by relevance
9 static DWORD cffi_tls_index = TLS_OUT_OF_INDEXES; variable20 if (cffi_tls_index != TLS_OUT_OF_INDEXES) { in DllMain()21 p = TlsGetValue(cffi_tls_index); in DllMain()23 TlsSetValue(cffi_tls_index, NULL); in DllMain()37 if (cffi_tls_index == TLS_OUT_OF_INDEXES) { in init_cffi_tls()38 cffi_tls_index = TlsAlloc(); in init_cffi_tls()39 if (cffi_tls_index == TLS_OUT_OF_INDEXES) in init_cffi_tls()46 LPVOID p = TlsGetValue(cffi_tls_index); in get_cffi_tls()53 TlsSetValue(cffi_tls_index, p); in get_cffi_tls()