Home
last modified time | relevance | path

Searched refs:PyGILState_Ensure (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython3/Modules/_ssl/
Ddebughelpers.c21 threadstate = PyGILState_Ensure(); in _PySSL_msg_callback()
126 threadstate = PyGILState_Ensure(); in _PySSL_keylog_callback()
/external/python/cffi/cffi/
D_embedding.h149 state = PyGILState_Ensure(); in _cffi_initialize_python()
301 state = PyGILState_Ensure(); in _cffi_carefully_make_gil()
/external/python/cpython3/Include/
Dpystate.h106 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/external/python/cpython3/Modules/
Dreadline.c896 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook()
911 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook()
928 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
989 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
1028 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete()
D_tracemalloc.c833 gil_state = PyGILState_Ensure(); in tracemalloc_raw_alloc()
881 gil_state = PyGILState_Ensure(); in tracemalloc_raw_realloc()
1679 gil_state = PyGILState_Ensure(); in PyTraceMalloc_Track()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c145 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
499 state = PyGILState_Ensure(); in DllGetClassObject()
553 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c222 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
584 state = PyGILState_Ensure(); in DllGetClassObject()
642 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c600 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback()
637 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback()
698 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback()
907 gilstate = PyGILState_Ensure(); in _authorizer_callback()
946 gilstate = PyGILState_Ensure(); in _progress_handler()
974 gilstate = PyGILState_Ensure(); in _trace_callback()
1381 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c661 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback()
702 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback()
764 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback()
934 gilstate = PyGILState_Ensure(); in _authorizer_callback()
970 gilstate = PyGILState_Ensure(); in _progress_handler()
1359 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
/external/python/cpython2/Include/
Dpystate.h160 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/external/python/cpython2/Modules/
Dreadline.c727 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_hook()
786 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
852 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
D_testcapimodule.c1966 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
2357 state = PyGILState_Ensure(); in temporary_c_thread()
/external/python/cffi/c/
Dmisc_thread_common.h352 result = PyGILState_Ensure(); in gil_ensure()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c34 state = PyGILState_Ensure(); in check_signals()
/external/python/cpython3/Doc/c-api/
Dinit.rst752 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
757 gstate = PyGILState_Ensure();
911 .. c:function:: PyGILState_STATE PyGILState_Ensure()
917 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
924 :c:func:`PyGILState_Ensure` was called, and must be passed to
927 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
943 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
947 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
1117 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
1155 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
[all …]
/external/python/cpython2/Doc/c-api/
Dinit.rst451 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
456 gstate = PyGILState_Ensure();
607 .. c:function:: PyGILState_STATE PyGILState_Ensure()
613 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
620 :c:func:`PyGILState_Ensure` was called, and must be passed to
623 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
635 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
639 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
901 of matching :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls.
/external/python/pybind11/include/pybind11/detail/
Dinternals.h240 gil_scoped_acquire_local() : state (PyGILState_Ensure()) {} in get_internals()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc351 py_threadstate = PyGILState_Ensure(); in Compute()
/external/python/cpython3/Programs/
D_testembed.c68 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()
237 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
/external/python/cpython2/Python/
Dpystate.c587 PyGILState_Ensure(void) in PyGILState_Ensure() function
/external/python/cpython3/PC/
Dpython3.def273 PyGILState_Ensure=python38.PyGILState_Ensure
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst1105 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
D3.7.0a3.rst1570 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
/external/python/cpython2/PC/os2emx/
Dpython27.def1030 "PyGILState_Ensure"
/external/python/cpython2/Misc/NEWS.d/
D2.7.15rc1.rst1670 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python

12