Home
last modified time | relevance | path

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

/external/python/cpython2/Mac/Modules/
DautoGIL.c21 PyThreadState **p_tstate = (PyThreadState **)info; in autoGILCallback() local
29 *p_tstate = PyEval_SaveThread(); in autoGILCallback()
36 PyEval_RestoreThread(*p_tstate); in autoGILCallback()
37 *p_tstate = NULL; in autoGILCallback()
56 PyThreadState **p_tstate; /* for use in the info field */ in autoGIL_installAutoGIL() local
76 p_tstate = PyMem_Malloc(sizeof(PyThreadState *)); in autoGIL_installAutoGIL()
77 if (p_tstate == NULL) { in autoGIL_installAutoGIL()
83 *p_tstate = NULL; in autoGIL_installAutoGIL()
84 context.info = (void *)p_tstate; in autoGIL_installAutoGIL()