Home
last modified time | relevance | path

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

/external/python/cpython3/Programs/
D_testembed.c40 PyGILState_STATE gilstate; in test_repeated_init_and_subinterpreters() local
53 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()
67 PyGILState_Release(gilstate); in test_repeated_init_and_subinterpreters()
/external/python/cpython3/Modules/
Dreadline.c901 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook() local
905 PyGILState_Release(gilstate); in on_startup_hook()
920 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook() local
924 PyGILState_Release(gilstate); in on_pre_input_hook()
941 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() local
972 PyGILState_Release(gilstate); in on_completion_display_matches_hook()
1007 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() local
1031 PyGILState_Release(gilstate); in on_completion()
1050 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete() local
1085 PyGILState_Release(gilstate); in flex_complete()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c889 PyGILState_STATE gilstate; in _authorizer_callback() local
891 gilstate = PyGILState_Ensure(); in _authorizer_callback()
922 PyGILState_Release(gilstate); in _authorizer_callback()
932 PyGILState_STATE gilstate; in _progress_handler() local
934 gilstate = PyGILState_Ensure(); in _progress_handler()
953 PyGILState_Release(gilstate); in _progress_handler()
964 PyGILState_STATE gilstate; in _trace_callback() local
966 gilstate = PyGILState_Ensure(); in _trace_callback()
986 PyGILState_Release(gilstate); in _trace_callback()
1370 PyGILState_STATE gilstate; in pysqlite_collation_callback() local
[all …]
/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/cpython3/Doc/c-api/
Dinit.rst1029 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.
/external/python/cpython2/Doc/c-api/
Dinit.rst946 arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.