Home
last modified time | relevance | path

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

/third_party/python/Modules/_ssl/
Ddebughelpers.c21 threadstate = PyGILState_Ensure(); in _PySSL_msg_callback()
125 threadstate = PyGILState_Ensure(); in _PySSL_keylog_callback()
/third_party/python/Modules/
Dreadline.c1021 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook()
1036 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook()
1053 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
1114 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
1153 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete()
D_tracemalloc.c769 gil_state = PyGILState_Ensure(); in tracemalloc_raw_alloc()
817 gil_state = PyGILState_Ensure(); in tracemalloc_raw_realloc()
1741 gil_state = PyGILState_Ensure(); in PyTraceMalloc_Track()
D_testcapimodule.c2860 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
4351 state = PyGILState_Ensure(); in temporary_c_thread()
D_ssl.c4348 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback()
/third_party/python/Modules/_sqlite/
Dconnection.c667 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback()
704 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback()
765 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback()
875 gstate = PyGILState_Ensure(); in _destructor()
982 gilstate = PyGILState_Ensure(); in _authorizer_callback()
1021 gilstate = PyGILState_Ensure(); in _progress_handler()
1065 gilstate = PyGILState_Ensure(); in _trace_callback()
1530 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
/third_party/python/Modules/_ctypes/
Dcallbacks.c148 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
544 state = PyGILState_Ensure(); in DllGetClassObject()
598 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/third_party/python/Include/
Dpystate.h120 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/third_party/python/Doc/c-api/
Dinit.rst789 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
794 gstate = PyGILState_Ensure();
952 .. c:function:: PyGILState_STATE PyGILState_Ensure()
958 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
965 :c:func:`PyGILState_Ensure` was called, and must be passed to
968 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
984 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
988 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
1242 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
1280 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
[all …]
/third_party/python/Programs/
D_testembed.c68 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()
251 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
/third_party/python/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
D3.7.0b1.rst183 demand" to fix a race condition when PyGILState_Ensure() is called in a
D3.9.0a5.rst244 Fix race condition where threads created by PyGILState_Ensure() could get a
D3.8.0a4.rst130 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`.
/third_party/python/Doc/data/
Dstable_abi.dat284 function,PyGILState_Ensure,3.2,
/third_party/python/PC/
Dpython3dll.c276 EXPORT_FUNC(PyGILState_Ensure)
/third_party/python/Python/
Dpystate.c1483 PyGILState_Ensure(void) in PyGILState_Ensure() function
/third_party/python/Objects/
Dobject.c394 PyGILState_STATE gil = PyGILState_Ensure(); in _PyObject_Dump()
/third_party/python/Misc/
Dstable_abi.txt750 function PyGILState_Ensure
DHISTORY2862 - Issue #19576: PyGILState_Ensure() now initializes threads. At startup, Python
2863 has no concrete GIL. If PyGILState_Ensure() is called from a new thread for
18652 Breaks PyGILState_Ensure()") broke badly in the case of multiple
19686 by the ``PyGILState_Ensure()``/``PyGILState_Release()`` API, was not
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c1049 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} in SWIG_Python_Thread_Block()
1065 … define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c1054 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} in SWIG_Python_Thread_Block()
1070 … define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
/third_party/python/Doc/whatsnew/
D3.8.rst1846 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`. If this