Searched refs:gilstate (Results 1 – 7 of 7) sorted by relevance
40 PyGILState_STATE gilstate; in test_repeated_init_and_subinterpreters() local53 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()67 PyGILState_Release(gilstate); in test_repeated_init_and_subinterpreters()
901 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook() local905 PyGILState_Release(gilstate); in on_startup_hook()920 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook() local924 PyGILState_Release(gilstate); in on_pre_input_hook()941 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() local972 PyGILState_Release(gilstate); in on_completion_display_matches_hook()1007 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() local1031 PyGILState_Release(gilstate); in on_completion()1050 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete() local1085 PyGILState_Release(gilstate); in flex_complete()
889 PyGILState_STATE gilstate; in _authorizer_callback() local891 gilstate = PyGILState_Ensure(); in _authorizer_callback()922 PyGILState_Release(gilstate); in _authorizer_callback()932 PyGILState_STATE gilstate; in _progress_handler() local934 gilstate = PyGILState_Ensure(); in _progress_handler()953 PyGILState_Release(gilstate); in _progress_handler()964 PyGILState_STATE gilstate; in _trace_callback() local966 gilstate = PyGILState_Ensure(); in _trace_callback()986 PyGILState_Release(gilstate); in _trace_callback()1370 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()
1029 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.
946 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.