Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dpystate.c40 static int autoTLSkey = 0; variable
303 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 …]
/external/python/cpython2/Misc/
Dvalgrind-python.supp66 Suppress leaking the autoTLSkey. This looks like it shouldn't leak though.
/external/python/cpython3/Misc/
Dvalgrind-python.supp66 Suppress leaking the autoTLSkey. This looks like it shouldn't leak though.