Searched refs:gilstate (Results 1 – 3 of 3) sorted by relevance
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()
946 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.