Home
last modified time | relevance | path

Searched refs:PyThreadState_Get (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython2/Include/
Dpystate.h119 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
130 #define PyThreadState_GET() PyThreadState_Get()
/external/python/cpython3/Programs/
D_testembed.c31 PyThreadState *ts = PyThreadState_Get(); in print_subinterp()
53 mainstate = PyThreadState_Get(); in test_repeated_init_and_subinterpreters()
318 PyInterpreterState *interp = PyThreadState_Get()->interp; in dump_config_impl()
/external/python/cpython2/Demo/embed/
Dimportexc.c10 Py_EndInterpreter(PyThreadState_Get()); in main()
/external/python/cpython3/Include/
Dpystate.h346 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
368 # define PyThreadState_GET() PyThreadState_Get()
/external/python/cpython3/Modules/
D_threadmodule.c775 && (tstate = PyThreadState_Get()) in local_clear()
1159 PyThreadState *tstate = PyThreadState_Get(); in thread__count()
1200 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel()
1353 PyThreadState *tstate = PyThreadState_Get(); in PyInit__thread()
D_tkinter.c233 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \
2835 PyThreadState *tstate = PyThreadState_Get(); in _tkinter_tkapp_mainloop_impl()
3355 event_tstate = PyThreadState_Get(); in EnableEventHook()
Dposixmodule.c436 run_at_forkers(PyThreadState_Get()->interp->before_forkers, 1); in PyOS_BeforeFork()
447 run_at_forkers(PyThreadState_Get()->interp->after_forkers_parent, 0); in PyOS_AfterFork_Parent()
458 run_at_forkers(PyThreadState_Get()->interp->after_forkers_child, 0); in PyOS_AfterFork_Child()
5384 interp = PyThreadState_Get()->interp; in os_register_at_fork_impl()
/external/python/cpython2/PC/os2vacpp/
Dpython.def380 PyThreadState_Get
/external/python/cpython3/Objects/
Dcodeobject.c431 PyInterpreterState *interp = PyThreadState_Get()->interp; in code_dealloc()
867 PyInterpreterState *interp = PyThreadState_Get()->interp; in _PyCode_SetExtra()
/external/python/cpython2/Python/
Dpystate.c327 PyThreadState_Get(void) in PyThreadState_Get() function
Dmodsupport.c37 PyInterpreterState *interp = PyThreadState_Get()->interp; in Py_InitModule4()
D_warnings.c460 globals = PyThreadState_Get()->interp->sysdict; in setup_context()
Dimport.c389 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear()
2768 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_ReloadModule()
Dsysmodule.c495 PyThreadState *tstate = PyThreadState_Get(); in sys_settscdump()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c162 PyThreadState_Get(), /*PyThreadState *tstate,*/ in _ctypes_add_traceback()
/external/python/cpython3/PC/
Dpython3.def568 PyThreadState_Get=python37.PyThreadState_Get
/external/python/cpython2/Modules/
Dthreadmodule.c405 && (tstate = PyThreadState_Get()) in local_clear()
D_tkinter.c210 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \
3010 PyThreadState *tstate = PyThreadState_Get(); in Tkapp_MainLoop()
3607 event_tstate = PyThreadState_Get(); in EnableEventHook()
/external/python/cpython3/Python/
Dtraceback.c267 frame = PyFrame_New(PyThreadState_Get(), code, globals, NULL); in _PyTraceback_Add()
Dcontext.c684 PyThreadState *ts = PyThreadState_Get(); in contextvar_set()
Dpystate.c705 PyThreadState_Get(void) in PyThreadState_Get() function
D_warnings.c694 globals = PyThreadState_Get()->interp->sysdict; in setup_context()
Dimport.c592 PyInterpreterState *interp = PyThreadState_Get()->interp; in PyImport_GetMagicNumber()
/external/python/cpython2/PC/os2emx/
Dpython27.def1037 "PyThreadState_Get"
/external/python/cpython2/Doc/c-api/
Dinit.rst373 be retrieved using :c:func:`PyThreadState_Get`.
583 .. c:function:: PyThreadState* PyThreadState_Get()

12