Searched refs:_PyRuntime (Results 1 – 22 of 22) sorted by relevance
20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()29 return (interp == _PyRuntime.interpreters.main); in _Py_IsMainInterpreter()37 return (_Py_IsMainThread() && interp == _PyRuntime.interpreters.main); in _Py_ThreadCanHandleSignals()81 return _PyRuntimeState_GetThreadState(&_PyRuntime); in _PyThreadState_GET()
128 PyAPI_DATA(_PyRuntimeState) _PyRuntime;
224 _PyRuntimeState *runtime = &_PyRuntime; in PyInterpreterState_New()512 _PyRuntimeState *runtime = &_PyRuntime; in _PyInterpreterState_LookUpID()561 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in _PyInterpreterState_IDDecref()948 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in PyThreadState_DeleteCurrent()999 return PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey); in _PyThreadState_GetTSS()1055 return _PyThreadState_Swap(&_PyRuntime.gilstate, newts); in PyThreadState_Swap()1126 _PyRuntimeState *runtime = &_PyRuntime; in PyThreadState_SetAsyncExc()1168 return _PyRuntime.interpreters.head; in PyInterpreterState_Head()1174 return _PyRuntime.interpreters.main; in PyInterpreterState_Main()1324 struct _gilstate_runtime_state *gilstate = &_PyRuntime.gilstate; in PyThreadState_IsCurrent()[all …]
84 _PyRuntimeState _PyRuntime variable105 return _PyRuntimeState_Init(&_PyRuntime); in _PyRuntime_Initialize()111 _PyRuntimeState_Fini(&_PyRuntime); in _PyRuntime_Finalize()118 return _PyRuntimeState_GetFinalizing(&_PyRuntime) != NULL; in _Py_IsFinalizing()134 return _PyRuntime.core_initialized; in _Py_IsCoreInitialized()140 return _PyRuntime.initialized; in Py_IsInitialized()890 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromPyArgv()957 _PyRuntimeState *runtime = &_PyRuntime; in _Py_PreInitializeFromConfig()1216 _PyRuntimeState *runtime = &_PyRuntime; in Py_InitializeFromConfig()1245 _PyRuntimeState *runtime = &_PyRuntime; in Py_InitializeEx()[all …]
204 PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(&_PyRuntime); in tstate_must_exit()335 struct _gil_runtime_state *gil = &_PyRuntime.ceval.gil; in _PyEval_SetSwitchInterval()346 struct _gil_runtime_state *gil = &_PyRuntime.ceval.gil; in _PyEval_GetSwitchInterval()
956 if (_PyRuntime.core_initialized) { in _PyPreConfig_Write()984 preconfig_copy(&_PyRuntime.preconfig, &config); in _PyPreConfig_Write()
301 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ThreadsInitialized()418 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_AcquireLock()428 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_ReleaseLock()522 _PyRuntimeState *runtime = &_PyRuntime; in PyEval_SaveThread()678 interp = _PyRuntime.interpreters.main; in Py_AddPendingCall()1161 _PyRuntimeState * const runtime = &_PyRuntime; in eval_frame_handle_pending()
2104 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in config_read()2704 status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig); in core_read_precmdline()
891 const PyPreConfig *preconfig = &_PyRuntime.preconfig; in _Py_GetLocaleEncoding()
387 _PyRuntimeState *runtime = &_PyRuntime; in PySys_AddAuditHook()
522 if (_PyRuntime.open_code_hook) { in PyFile_SetOpenCodeHook()530 _PyRuntime.open_code_hook = hook; in PyFile_SetOpenCodeHook()531 _PyRuntime.open_code_userdata = userData; in PyFile_SetOpenCodeHook()546 Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook; in PyFile_OpenCodeObject()548 f = hook(path, _PyRuntime.open_code_userdata); in PyFile_OpenCodeObject()
32 consolidated under a single top-level _PyRuntime global. No new globals
938 rt_preconfig = &_PyRuntime.preconfig; in check_preinit_isolated_config()949 rt_preconfig = &_PyRuntime.preconfig; in check_preinit_isolated_config()
221 It now accesses the ``_PyRuntime`` variable directly instead of using1145 Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame``1146 macro which was an alias to ``_PyRuntime.getframe``. They were only exposed
113 preserve ``_PyRuntime.unicode_ids.next_index`` value.
42 _PyRuntime to Objects/obmalloc.c. The memory allocators are once again
293 PyInterpreterState *interp = _PyRuntime.interpreters.main; in trip_signal()
1116 _PyRuntimeState *runtime = &_PyRuntime; in thread_PyThread_start_new_thread()
592 _PyRuntimeState *runtime = &_PyRuntime; in PyOS_AfterFork_Child()
1435 * Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame``1436 macro which was an alias to ``_PyRuntime.getframe``. They were only exposed
351 ``_PyRuntime.preconfig``.
3436 #include "pycore_runtime.h" // _PyRuntime3725 #include "pycore_runtime.h" // _PyRuntime