Searched refs:autoTLSkey (Results 1 – 3 of 3) sorted by relevance
40 static int autoTLSkey = 0; variable303 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_Delete()304 PyThread_delete_key_value(autoTLSkey); in PyThreadState_Delete()318 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_DeleteCurrent()319 PyThread_delete_key_value(autoTLSkey); in PyThreadState_DeleteCurrent()527 autoTLSkey = PyThread_create_key(); in _PyGILState_Init()529 assert(PyThread_get_key_value(autoTLSkey) == NULL); in _PyGILState_Init()538 PyThread_delete_key(autoTLSkey); in _PyGILState_Fini()570 if (PyThread_set_key_value(autoTLSkey, (void *)tstate) < 0) in _PyGILState_NoteThreadState()583 return (PyThreadState *)PyThread_get_key_value(autoTLSkey); in PyGILState_GetThisThreadState()[all …]
66 Suppress leaking the autoTLSkey. This looks like it shouldn't leak though.