Searched refs:gilstate (Results 1 – 10 of 10) sorted by relevance
46 runtime->gilstate.check_enabled = 1; in _PyRuntimeState_Init_impl()51 runtime->gilstate.autoTSSkey = initial; in _PyRuntimeState_Init_impl()633 if (_PyRuntime.gilstate.autoInterpreterState && in PyThreadState_Delete()634 PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == tstate) in PyThreadState_Delete()636 PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, NULL); in PyThreadState_Delete()650 if (_PyRuntime.gilstate.autoInterpreterState && in PyThreadState_DeleteCurrent()651 PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == tstate) in PyThreadState_DeleteCurrent()653 PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, NULL); in PyThreadState_DeleteCurrent()910 if (PyThread_tss_create(&_PyRuntime.gilstate.autoTSSkey) != 0) { in _PyGILState_Init()913 _PyRuntime.gilstate.autoInterpreterState = i; in _PyGILState_Init()[all …]
33 #define _PyThreadState_GetFrame _PyRuntime.gilstate.getframe37 #define _PyGILState_check_enabled _PyRuntime.gilstate.check_enabled105 struct _gilstate_runtime_state gilstate; member
899 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook() local901 PyGILState_Release(gilstate); in on_startup_hook()914 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook() local916 PyGILState_Release(gilstate); in on_pre_input_hook()931 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() local959 PyGILState_Release(gilstate); in on_completion_display_matches_hook()992 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() local1014 PyGILState_Release(gilstate); in on_completion()1031 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete() local1064 PyGILState_Release(gilstate); in flex_complete()
877 PyGILState_STATE gilstate; in _authorizer_callback() local879 gilstate = PyGILState_Ensure(); in _authorizer_callback()908 PyGILState_Release(gilstate); in _authorizer_callback()916 PyGILState_STATE gilstate; in _progress_handler() local918 gilstate = PyGILState_Ensure(); in _progress_handler()935 PyGILState_Release(gilstate); in _progress_handler()944 PyGILState_STATE gilstate; in _trace_callback() local946 gilstate = PyGILState_Ensure(); in _trace_callback()964 PyGILState_Release(gilstate); in _trace_callback()1347 PyGILState_STATE gilstate; in pysqlite_collation_callback() local[all …]
727 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_hook() local746 PyGILState_Release(gilstate); in on_hook()786 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() local817 PyGILState_Release(gilstate); in on_completion_display_matches_hook()852 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() local874 PyGILState_Release(gilstate); in on_completion()
932 PyGILState_STATE gilstate; in _authorizer_callback() local934 gilstate = PyGILState_Ensure(); in _authorizer_callback()958 PyGILState_Release(gilstate); in _authorizer_callback()968 PyGILState_STATE gilstate; in _progress_handler() local970 gilstate = PyGILState_Ensure(); in _progress_handler()989 PyGILState_Release(gilstate); in _progress_handler()1353 PyGILState_STATE gilstate; in pysqlite_collation_callback() local1359 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()1397 PyGILState_Release(gilstate); in pysqlite_collation_callback()
47 PyGILState_STATE gilstate; in test_repeated_init_and_subinterpreters() local58 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()70 PyGILState_Release(gilstate); in test_repeated_init_and_subinterpreters()
364 # define _PyThreadState_Current _PyRuntime.gilstate.tstate_current
946 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.
1235 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.