Home
last modified time | relevance | path

Searched refs:gilstate (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Dreadline.c727 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_hook() local
746 PyGILState_Release(gilstate); in on_hook()
786 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() local
817 PyGILState_Release(gilstate); in on_completion_display_matches_hook()
852 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() local
874 PyGILState_Release(gilstate); in on_completion()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c932 PyGILState_STATE gilstate; in _authorizer_callback() local
934 gilstate = PyGILState_Ensure(); in _authorizer_callback()
958 PyGILState_Release(gilstate); in _authorizer_callback()
968 PyGILState_STATE gilstate; in _progress_handler() local
970 gilstate = PyGILState_Ensure(); in _progress_handler()
989 PyGILState_Release(gilstate); in _progress_handler()
1353 PyGILState_STATE gilstate; in pysqlite_collation_callback() local
1359 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
1397 PyGILState_Release(gilstate); in pysqlite_collation_callback()
/external/python/cpython2/Doc/c-api/
Dinit.rst946 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.