Searched refs:g_TlsIndex (Results 1 – 1 of 1) sorted by relevance
94 static DWORD g_TlsIndex = TLS_OUT_OF_INDEXES; variable96 static pthread_key_t g_TlsIndex; variable107 if( g_TlsIndex == TLS_OUT_OF_INDEXES ) in icvGetContext()109 g_TlsIndex = TlsAlloc(); in icvGetContext()110 if( g_TlsIndex == TLS_OUT_OF_INDEXES ) in icvGetContext()114 context = (CvContext*)TlsGetValue( g_TlsIndex ); in icvGetContext()121 TlsSetValue( g_TlsIndex, context ); in icvGetContext()125 CvContext* context = (CvContext*)pthread_getspecific( g_TlsIndex ); in icvGetContext()134 pthread_setspecific( g_TlsIndex, context ); in icvGetContext()380 g_TlsIndex = TlsAlloc(); in DllMain()[all …]